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.001271/0.001271, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2654, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003575/0.269, allocations: 2.839 MB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2702, allocations: 0.7594 MB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2703, allocations: 12 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.2704, allocations: 63.42 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.2707, allocations: 95.05 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.271, allocations: 127.7 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.2714, allocations: 442.8 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.2718, allocations: 228.9 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.272, allocations: 183.4 kB / 413.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.2722, allocations: 203.2 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.2723, allocations: 51.98 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.2724, allocations: 52 kB / 413.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.2725, allocations: 99.69 kB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.2726, allocations: 215 kB / 414.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.2731, allocations: 0.5039 MB / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2731, allocations: 0 / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2731, allocations: 0 / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2731, allocations: 4 kB / 414.6 MB, free: 11.68 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.0009818/0.2741, allocations: 0.6787 MB / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2741, allocations: 12.03 kB / 415.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.783e-05/0.2742, allocations: 82.64 kB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.2744, allocations: 64.36 kB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.2747, allocations: 280.4 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2748, allocations: 33.38 kB / 415.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.2748, allocations: 44.38 kB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.2755, allocations: 455.4 kB / 416.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2755, allocations: 3.938 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.2755, allocations: 20 kB / 416.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.2756, allocations: 8 kB / 416.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.276, allocations: 279.9 kB / 416.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.2778, allocations: 1.306 MB / 417.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.2782, allocations: 242.6 kB / 418.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/0.2785, allocations: 196.7 kB / 418.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2786, allocations: 0 / 418.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2786, allocations: 38.56 kB / 418.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.2786, allocations: 0 / 418.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001304/0.2799, allocations: 0.5579 MB / 418.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.28, allocations: 235.3 kB / 419.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2802, allocations: 214.8 kB / 419.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2802, allocations: 29.7 kB / 419.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2804, allocations: 200.2 kB / 419.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.2804, allocations: 102.5 kB / 419.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.2805, allocations: 65.69 kB / 419.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2807, allocations: 330.8 kB / 420 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2808, allocations: 75.97 kB / 420.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.281, allocations: 156.5 kB / 420.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.2814, allocations: 204.2 kB / 420.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2814, allocations: 8 kB / 420.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004199/0.2818, allocations: 273 kB / 420.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2818, allocations: 4 kB / 420.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2818, allocations: 0 / 420.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.2819, allocations: 4 kB / 420.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.2822, allocations: 79.89 kB / 420.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2822, allocations: 4 kB / 420.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.2824, allocations: 35.61 kB / 420.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2824, allocations: 16.06 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.0002031/0.2826, allocations: 149.7 kB / 421 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.2827, allocations: 31.66 kB / 421 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.2827, allocations: 34.64 kB / 421.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2828, allocations: 0 / 421.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.2828, allocations: 7.938 kB / 421.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2828, allocations: 0 / 421.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2838, allocations: 0.7672 MB / 421.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2838, allocations: 0 / 421.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2841, allocations: 51.97 kB / 421.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.2844, allocations: 92.73 kB / 422 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2844, allocations: 4 kB / 422 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.2863, allocations: 1.985 MB / 424 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2863, allocations: 0 / 424 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.2871, allocations: 0.4973 MB / 424.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.2871, allocations: 108.7 kB / 424.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2872, allocations: 8.125 kB / 424.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2873, allocations: 12 kB / 424.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.2874, allocations: 23.97 kB / 424.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2874, allocations: 11.94 kB / 424.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2875, allocations: 152.6 kB / 424.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2876, allocations: 3.938 kB / 424.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000362/0.2879, allocations: 107.6 kB / 424.9 MB, free: 0.7227 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.001037/0.289, allocations: 1.033 MB / 425.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.2894, allocations: 220.3 kB / 426.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2894, allocations: 4.125 kB / 426.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.2898, allocations: 266.5 kB / 426.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2903, allocations: 37.34 kB / 426.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2935, allocations: 2.888 MB / 429.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2938, allocations: 0.787 MB / 430.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.73e-05/0.2939, allocations: 21.95 kB / 430.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2941, allocations: 103.4 kB / 430.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2941, allocations: 4 kB / 430.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3195, allocations: 6.058 MB / 436.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/10.24, allocations: 14.52 kB / 436.3 MB, free: 5.25 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