Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 107.1 kB / 17.59 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 192 kB / 18.51 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 47.94 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.0835, allocations: 46.62 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004551/0.08809, allocations: 3.248 MB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.09056, allocations: 1.344 MB / 331.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.09093, allocations: 8 kB / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.09142, allocations: 147 kB / 332 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.09249, allocations: 354 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.09305, allocations: 259.1 kB / 332.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.09373, allocations: 446.1 kB / 333.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.09397, allocations: 156.2 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.09422, allocations: 167.3 kB / 333.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.09459, allocations: 195.2 kB / 333.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.09467, allocations: 32 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.09502, allocations: 155.9 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.797e-05/0.09513, allocations: 91.61 kB / 333.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.09531, allocations: 191.1 kB / 334 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.09596, allocations: 0.5336 MB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09597, allocations: 0 / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09598, allocations: 0 / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.09599, allocations: 0 / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001535/0.09753, allocations: 0.7371 MB / 335.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.09759, allocations: 8.031 kB / 335.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.09821, allocations: 100.3 kB / 335.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.09863, allocations: 308.4 kB / 335.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.09867, allocations: 29.38 kB / 335.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.09874, allocations: 36.36 kB / 335.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.09932, allocations: 357.6 kB / 336.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.09934, allocations: 3.984 kB / 336.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.09939, allocations: 16 kB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.0994, allocations: 8 kB / 336.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.09988, allocations: 246.1 kB / 336.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1019, allocations: 1.323 MB / 337.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.1023, allocations: 197.1 kB / 337.9 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1025, allocations: 85.67 kB / 338 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.1032, allocations: 0.8636 MB / 338.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1033, allocations: 38.56 kB / 338.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1033, allocations: 0 / 338.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005203/0.1038, allocations: 221.2 kB / 339.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1039, allocations: 89.05 kB / 339.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1041, allocations: 282.9 kB / 339.5 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1042, allocations: 29.7 kB / 339.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1043, allocations: 239.5 kB / 339.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.1043, allocations: 67.08 kB / 339.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.1044, allocations: 62.03 kB / 339.8 MB, free: 7.461 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1045, allocations: 330.8 kB / 340.2 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1047, allocations: 72.61 kB / 340.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1049, allocations: 198.4 kB / 340.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1053, allocations: 296.8 kB / 340.7 MB, free: 6.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1053, allocations: 4.188 kB / 340.7 MB, free: 6.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004937/0.1058, allocations: 316.8 kB / 341 MB, free: 6.133 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1058, allocations: 8 kB / 341 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.1058, allocations: 8.562 kB / 341.1 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1059, allocations: 8 kB / 341.1 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1061, allocations: 87.77 kB / 341.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1062, allocations: 8 kB / 341.2 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1063, allocations: 31.69 kB / 341.2 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.1064, allocations: 19.98 kB / 341.2 MB, free: 5.965 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001342/0.1065, allocations: 153.7 kB / 341.4 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1066, allocations: 27.72 kB / 341.4 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1066, allocations: 29.73 kB / 341.4 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1067, allocations: 7.938 kB / 341.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1067, allocations: 0 / 341.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1067, allocations: 0 / 341.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.1073, allocations: 0.5069 MB / 341.9 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1073, allocations: 3.984 kB / 341.9 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.1075, allocations: 43.92 kB / 342 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1075, allocations: 4.031 kB / 342 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1076, allocations: 11.98 kB / 342 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1076, allocations: 3.938 kB / 342 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1076, allocations: 3.938 kB / 342 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.1081, allocations: 426.9 kB / 342.4 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.1082, allocations: 104.7 kB / 342.5 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1082, allocations: 4 kB / 342.5 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1084, allocations: 11.98 kB / 342.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1085, allocations: 15.98 kB / 342.5 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1085, allocations: 4 kB / 342.6 MB, free: 4.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1087, allocations: 198 kB / 342.7 MB, free: 4.316 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1087, allocations: 4.062 kB / 342.7 MB, free: 4.312 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.1091, allocations: 79.73 kB / 342.8 MB, free: 4.234 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.1092, allocations: 115.2 kB / 342.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1096, allocations: 199.7 kB / 343.1 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1096, allocations: 0 / 343.1 MB, free: 3.918 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1098, allocations: 75.91 kB / 343.2 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1102, allocations: 37.88 kB / 343.2 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.1112, allocations: 0.647 MB / 343.9 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1115, allocations: 0.7677 MB / 344.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.1116, allocations: 34.95 kB / 344.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1117, allocations: 27.44 kB / 344.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1117, allocations: 4 kB / 344.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of Templates: time 0.005541/0.1172, allocations: 2.325 MB / 347.1 MB, free: 15.95 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches