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.001502/0.001502, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 68.22 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08789, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003796/0.09172, allocations: 2.84 MB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.09315, allocations: 0.7634 MB / 361.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.09342, allocations: 4 kB / 361.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.09363, allocations: 63.42 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.09394, allocations: 99.03 kB / 361.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.09438, allocations: 127.8 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.09487, allocations: 450.8 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.09522, allocations: 220.9 kB / 362.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.09554, allocations: 183.4 kB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.09582, allocations: 203.1 kB / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.869e-05/0.09591, allocations: 48 kB / 362.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.09604, allocations: 52 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.09612, allocations: 99.67 kB / 362.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.09633, allocations: 222.9 kB / 362.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.09678, allocations: 0.5063 MB / 363.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.0968, allocations: 0 / 363.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0968, allocations: 0 / 363.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.09682, allocations: 0 / 363.4 MB, free: 8.148 MB / 302.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.001047/0.09787, allocations: 0.6825 MB / 364.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.09792, allocations: 8.031 kB / 364.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.098, allocations: 86.7 kB / 364.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.09823, allocations: 56.45 kB / 364.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.09853, allocations: 278 kB / 364.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.09856, allocations: 37.38 kB / 364.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.09864, allocations: 44.28 kB / 364.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.09932, allocations: 459.4 kB / 365.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.09935, allocations: 0 / 365.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.0994, allocations: 16 kB / 365.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.09941, allocations: 12 kB / 365.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.09991, allocations: 275.9 kB / 365.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1017, allocations: 1.31 MB / 366.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.1021, allocations: 238.7 kB / 366.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1025, allocations: 197.9 kB / 367.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1025, allocations: 7.984 kB / 367.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1025, allocations: 38.5 kB / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.1025, allocations: 0 / 367.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.0013/0.1038, allocations: 0.5475 MB / 367.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.104, allocations: 239.3 kB / 367.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1043, allocations: 214.7 kB / 368.1 MB, free: 3.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1043, allocations: 29.7 kB / 368.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1044, allocations: 200.2 kB / 368.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.1045, allocations: 98.47 kB / 368.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.1046, allocations: 65.69 kB / 368.5 MB, free: 2.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1047, allocations: 330.8 kB / 368.8 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1049, allocations: 79.72 kB / 368.9 MB, free: 2.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1051, allocations: 156.5 kB / 369.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.1054, allocations: 207.1 kB / 369.3 MB, free: 1.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1054, allocations: 4 kB / 369.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004432/0.1059, allocations: 269.1 kB / 369.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1059, allocations: 4 kB / 369.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1059, allocations: 0 / 369.5 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1059, allocations: 4 kB / 369.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1062, allocations: 83.83 kB / 369.6 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1063, allocations: 4 kB / 369.6 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1064, allocations: 31.73 kB / 369.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1064, allocations: 16.08 kB / 369.7 MB, free: 1.496 MB / 302.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.0001372/0.1066, allocations: 153.7 kB / 369.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.1066, allocations: 31.66 kB / 369.8 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.098e-05/0.1067, allocations: 34.64 kB / 369.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1067, allocations: 0 / 369.9 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1067, allocations: 4 kB / 369.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1067, allocations: 0 / 369.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.1077, allocations: 0.7789 MB / 370.7 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1077, allocations: 4 kB / 370.7 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.108, allocations: 55.91 kB / 370.7 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.1083, allocations: 88.8 kB / 370.8 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1083, allocations: 4 kB / 370.8 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1803/0.2886, allocations: 1.97 MB / 372.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2886, allocations: 1.219 kB / 372.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/0.2894, allocations: 0.5017 MB / 373.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.2895, allocations: 103 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.2895, allocations: 12.69 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2897, allocations: 11.12 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.2898, allocations: 23.97 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2898, allocations: 10.83 kB / 373.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2899, allocations: 147.8 kB / 373.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2899, allocations: 0 / 373.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.2904, allocations: 104.8 kB / 373.7 MB, free: 18.39 MB / 302.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.0008906/0.2913, allocations: 1.052 MB / 374.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.2917, allocations: 216.9 kB / 375 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2917, allocations: 1.156 kB / 375 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.2921, allocations: 279.1 kB / 375.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.2926, allocations: 41.52 kB / 375.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.2957, allocations: 2.881 MB / 378.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2959, allocations: 0.785 MB / 378.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.296, allocations: 26.97 kB / 379 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2962, allocations: 103.7 kB / 379.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2962, allocations: 0 / 379.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.69/1.986, allocations: 5.848 MB / 384.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14.59, allocations: 1.25 kB / 384.9 MB, free: 13.88 MB / 302.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