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.001515/0.001515, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0017/0.0017, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2615, allocations: 50.54 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004122/0.2657, allocations: 2.859 MB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.2671, allocations: 0.7595 MB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2672, allocations: 4 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2673, allocations: 63.36 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.2676, allocations: 99.11 kB / 412.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.268, allocations: 127.7 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.2685, allocations: 450.8 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.2688, allocations: 220.9 kB / 413.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.2691, allocations: 179.4 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.2694, allocations: 207.1 kB / 413.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.2694, allocations: 48 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2695, allocations: 48 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.2696, allocations: 103.7 kB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.2699, allocations: 219 kB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.2704, allocations: 0.5011 MB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2704, allocations: 4 kB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2704, allocations: 0 / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2704, allocations: 0 / 414.7 MB, free: 11.59 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.001099/0.2715, allocations: 0.7016 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2716, allocations: 12.02 kB / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.2717, allocations: 78.72 kB / 415.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2719, allocations: 56.64 kB / 415.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.2722, allocations: 276.5 kB / 415.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.2723, allocations: 33.38 kB / 415.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.2724, allocations: 44.33 kB / 415.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.2731, allocations: 459.4 kB / 416.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.2731, allocations: 0 / 416.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.2732, allocations: 20 kB / 416.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2732, allocations: 12 kB / 416.3 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005288/0.2737, allocations: 283.8 kB / 416.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2756, allocations: 1.299 MB / 417.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.2761, allocations: 249.9 kB / 418.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.2765, allocations: 196.7 kB / 418.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2765, allocations: 8 kB / 418.4 MB, free: 7.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2765, allocations: 38.56 kB / 418.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.2765, allocations: 0 / 418.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001411/0.278, allocations: 0.5542 MB / 418.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.2781, allocations: 235.3 kB / 419.2 MB, free: 6.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.2783, allocations: 210.8 kB / 419.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2784, allocations: 33.7 kB / 419.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.2785, allocations: 204.6 kB / 419.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-05/0.2786, allocations: 111.1 kB / 419.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2787, allocations: 61.69 kB / 419.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2789, allocations: 334.8 kB / 420.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2791, allocations: 71.97 kB / 420.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.2793, allocations: 160.5 kB / 420.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.2797, allocations: 196.2 kB / 420.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2797, allocations: 0 / 420.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004778/0.2802, allocations: 277.1 kB / 420.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2802, allocations: 10.97 kB / 420.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2802, allocations: 4.062 kB / 420.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2802, allocations: 3.938 kB / 420.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2806, allocations: 79.89 kB / 420.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.2806, allocations: 0 / 420.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2807, allocations: 39.78 kB / 420.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2808, allocations: 8 kB / 420.9 MB, free: 4.91 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.0001551/0.2809, allocations: 153.7 kB / 421.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.281, allocations: 27.8 kB / 421.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.2811, allocations: 38.64 kB / 421.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2811, allocations: 11.92 kB / 421.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2811, allocations: 0 / 421.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2811, allocations: 8 kB / 421.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.2822, allocations: 0.7673 MB / 421.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2822, allocations: 0 / 421.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.2825, allocations: 51.97 kB / 422 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003033/0.2828, allocations: 92.77 kB / 422.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2828, allocations: 8 kB / 422.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.285, allocations: 1.966 MB / 424.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.285, allocations: 3.984 kB / 424.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007845/0.2858, allocations: 0.5013 MB / 424.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/0.2859, allocations: 109 kB / 424.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2859, allocations: 7.938 kB / 424.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.2861, allocations: 12 kB / 424.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.2861, allocations: 23.97 kB / 424.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2862, allocations: 12.03 kB / 424.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2863, allocations: 156.5 kB / 424.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2863, allocations: 0 / 424.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.2867, allocations: 107.7 kB / 425 MB, free: 0.6133 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.001154/0.2878, allocations: 1.04 MB / 426 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2883, allocations: 220.3 kB / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2883, allocations: 0 / 426.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.2887, allocations: 266.5 kB / 426.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2891, allocations: 36.23 kB / 426.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.2928, allocations: 2.914 MB / 429.5 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.2932, allocations: 0.787 MB / 430.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.2933, allocations: 21.94 kB / 430.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2935, allocations: 111.3 kB / 430.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2935, allocations: 4 kB / 430.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.3255, allocations: 5.965 MB / 436.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.82, allocations: 7.984 kB / 436.3 MB, free: 5.195 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.1.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