Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001618/0.001618, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004465/0.297, allocations: 2.847 MB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2988, allocations: 0.7595 MB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.2992, allocations: 4 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.2995, allocations: 67.36 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.3001, allocations: 99.11 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.3007, allocations: 127.7 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.3013, allocations: 446.8 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.3017, allocations: 216.9 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/0.3021, allocations: 183.4 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3025, allocations: 207.1 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.3026, allocations: 44 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3027, allocations: 52 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.3028, allocations: 103.7 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3031, allocations: 223 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.3037, allocations: 0.5 MB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3037, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3037, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.69e-05/0.3037, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001254/0.305, allocations: 0.6904 MB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.305, allocations: 8.031 kB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.3051, allocations: 78.7 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.3054, allocations: 60.36 kB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3057, allocations: 280.4 kB / 415.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.3058, allocations: 29.38 kB / 415.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.3059, allocations: 44.38 kB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.3066, allocations: 455.4 kB / 416.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3066, allocations: 3.984 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.3066, allocations: 20 kB / 416.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3067, allocations: 12 kB / 416.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.3072, allocations: 287.8 kB / 416.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.3092, allocations: 1.306 MB / 417.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.3097, allocations: 242.2 kB / 418.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.31, allocations: 196.7 kB / 418.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3101, allocations: 4 kB / 418.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3101, allocations: 34.56 kB / 418.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.754e-06/0.3101, allocations: 0 / 418.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001358/0.3115, allocations: 0.554 MB / 418.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.3116, allocations: 239.3 kB / 419.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3118, allocations: 210.8 kB / 419.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3119, allocations: 37.7 kB / 419.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.312, allocations: 196.2 kB / 419.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.3121, allocations: 102.5 kB / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3122, allocations: 65.69 kB / 419.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3123, allocations: 334.8 kB / 420 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.3125, allocations: 71.97 kB / 420.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3127, allocations: 160.5 kB / 420.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.313, allocations: 200.2 kB / 420.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.313, allocations: 0 / 420.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004471/0.3134, allocations: 281 kB / 420.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3135, allocations: 7.938 kB / 420.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3135, allocations: 4 kB / 420.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3135, allocations: 0 / 420.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.3138, allocations: 79.89 kB / 420.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3139, allocations: 0 / 420.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.314, allocations: 39.67 kB / 420.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3141, allocations: 4 kB / 420.8 MB, free: 5.012 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.3142, allocations: 161.8 kB / 421 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.3143, allocations: 27.66 kB / 421 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.3144, allocations: 34.64 kB / 421.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3144, allocations: 7.938 kB / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3144, allocations: 0 / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3144, allocations: 0 / 421.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.3154, allocations: 0.7633 MB / 421.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3155, allocations: 8.031 kB / 421.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.3157, allocations: 47.97 kB / 421.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.316, allocations: 96.67 kB / 422 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.3161, allocations: 8 kB / 422 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.318, allocations: 1.969 MB / 424 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.318, allocations: 7.922 kB / 424 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.3188, allocations: 0.5051 MB / 424.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.3189, allocations: 100.8 kB / 424.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3189, allocations: 8.062 kB / 424.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3191, allocations: 12 kB / 424.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3192, allocations: 23.97 kB / 424.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3192, allocations: 12.05 kB / 424.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3193, allocations: 156.5 kB / 424.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3193, allocations: 0 / 424.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.3198, allocations: 111.6 kB / 424.9 MB, free: 0.7109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.3208, allocations: 1.029 MB / 425.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3212, allocations: 220.3 kB / 426.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3213, allocations: 4 kB / 426.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.3217, allocations: 270.7 kB / 426.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3221, allocations: 32.05 kB / 426.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.3255, allocations: 2.892 MB / 429.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3259, allocations: 0.7908 MB / 430.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.326, allocations: 21.95 kB / 430.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3262, allocations: 107.4 kB / 430.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3262, allocations: 0 / 430.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.3552, allocations: 6.054 MB / 436.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.38, allocations: 15.02 kB / 436.3 MB, free: 5.234 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:C1.C,C1.IC,C1.UIC,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C1.vinternal,C2.C,C2.IC,C2.UIC,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C2.vinternal,L1.IC,L1.ICP.L,L1.ICP.di,L1.ICP.v,L1.L,L1.UIC,L1.i,L1.iinternal,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.IC,L2.ICP.L,L2.ICP.di,L2.ICP.v,L2.L,L2.UIC,L2.i,L2.iinternal,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,L3.IC,L3.ICP.L,L3.ICP.di,L3.ICP.v,L3.L,L3.UIC,L3.i,L3.iinternal,L3.n.i,L3.n.v,L3.p.i,L3.p.v,L3.v,R1.R,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.v,R2.R,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.v,R3.R,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.v,R4.R,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.v,R5.R,R5.i,R5.n.i,R5.n.v,R5.p.i,R5.p.v,R5.v,der(C1.vinternal),der(C2.vinternal),der(L1.iinternal),der(L2.iinternal),der(L3.iinternal),ground.p.i,ground.p.v,k1.M,k1.inductiveCouplePin1.L,k1.inductiveCouplePin1.di,k1.inductiveCouplePin1.v,k1.inductiveCouplePin2.L,k1.inductiveCouplePin2.di,k1.inductiveCouplePin2.v,k1.k,k2.M,k2.inductiveCouplePin1.L,k2.inductiveCouplePin1.di,k2.inductiveCouplePin1.v,k2.inductiveCouplePin2.L,k2.inductiveCouplePin2.di,k2.inductiveCouplePin2.v,k2.k,k3.M,k3.inductiveCouplePin1.L,k3.inductiveCouplePin1.di,k3.inductiveCouplePin1.v,k3.inductiveCouplePin2.L,k3.inductiveCouplePin2.di,k3.inductiveCouplePin2.v,k3.k,sineVoltage.FREQ,sineVoltage.TD,sineVoltage.THETA,sineVoltage.VA,sineVoltage.VO,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.v,time