Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.69 kB / 306.9 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08854, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00449/0.09307, allocations: 3.302 MB / 360.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.09533, allocations: 1.417 MB / 362.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.09564, allocations: 8 kB / 362.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.09609, allocations: 143 kB / 362.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.09717, allocations: 421.7 kB / 362.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.09761, allocations: 183.5 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.09826, allocations: 458.1 kB / 363.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.09851, allocations: 156.2 kB / 363.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.09876, allocations: 179.2 kB / 363.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.09904, allocations: 195.2 kB / 363.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.0991, allocations: 36 kB / 363.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.09944, allocations: 171.9 kB / 364.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.09952, allocations: 87.62 kB / 364.2 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.09969, allocations: 191.1 kB / 364.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.1003, allocations: 0.5492 MB / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1003, allocations: 0 / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1003, allocations: 0 / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1004, allocations: 0 / 364.9 MB, free: 6.586 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001416/0.1018, allocations: 0.7525 MB / 365.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1018, allocations: 8.031 kB / 365.7 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007534/0.1026, allocations: 116.4 kB / 365.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.103, allocations: 309.6 kB / 366.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.103, allocations: 25.38 kB / 366.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.1031, allocations: 36.38 kB / 366.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1037, allocations: 349.6 kB / 366.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1037, allocations: 0 / 366.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1037, allocations: 19.94 kB / 366.5 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1038, allocations: 12 kB / 366.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.1043, allocations: 246 kB / 366.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.1064, allocations: 1.315 MB / 368.1 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.1069, allocations: 205 kB / 368.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1071, allocations: 89.62 kB / 368.4 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.1081, allocations: 1.192 MB / 369.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1082, allocations: 34.56 kB / 369.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.776e-06/0.1082, allocations: 0 / 369.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005686/0.1087, allocations: 225.2 kB / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1088, allocations: 84.98 kB / 369.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.1091, allocations: 283.1 kB / 370.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1091, allocations: 37.69 kB / 370.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1092, allocations: 243.3 kB / 370.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.1093, allocations: 59.19 kB / 370.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.1094, allocations: 65.94 kB / 370.6 MB, free: 476 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1095, allocations: 330.8 kB / 370.9 MB, free: 136 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1097, allocations: 68.61 kB / 371 MB, free: 68 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1571/0.2667, allocations: 194.3 kB / 371.2 MB, free: 19.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.2672, allocations: 290.2 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2672, allocations: 1.188 kB / 371.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005886/0.2678, allocations: 318.1 kB / 371.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2679, allocations: 7.406 kB / 371.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2679, allocations: 10.39 kB / 371.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2679, allocations: 10.06 kB / 371.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2682, allocations: 76.88 kB / 371.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.2682, allocations: 11.39 kB / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2685, allocations: 42.42 kB / 371.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.2685, allocations: 16.67 kB / 371.9 MB, free: 19.64 MB / 302.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.0001305/0.2686, allocations: 151.1 kB / 372.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.2687, allocations: 28.56 kB / 372.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.2688, allocations: 29.69 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2688, allocations: 3.906 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2688, allocations: 2.172 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2688, allocations: 0.5625 kB / 372.1 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.2694, allocations: 0.5146 MB / 372.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2695, allocations: 5.375 kB / 372.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.2697, allocations: 45.48 kB / 372.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2697, allocations: 1.344 kB / 372.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2697, allocations: 5.766 kB / 372.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2697, allocations: 5.844 kB / 372.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2697, allocations: 1.109 kB / 372.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.2702, allocations: 424.3 kB / 373.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.2703, allocations: 105.7 kB / 373.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.2703, allocations: 5.891 kB / 373.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2705, allocations: 18.06 kB / 373.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2706, allocations: 12.73 kB / 373.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2706, allocations: 6.406 kB / 373.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.2708, allocations: 206.2 kB / 373.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2708, allocations: 3.875 kB / 373.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.2712, allocations: 80.12 kB / 373.6 MB, free: 18.78 MB / 302.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.000133/0.2714, allocations: 111.2 kB / 373.7 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.2718, allocations: 204.7 kB / 373.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2718, allocations: 3.031 kB / 373.9 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2719, allocations: 70.88 kB / 373.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.2724, allocations: 39.55 kB / 374 MB, free: 18.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2734, allocations: 0.6516 MB / 374.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2737, allocations: 0.7736 MB / 375.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.2738, allocations: 40.77 kB / 375.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.2739, allocations: 27.2 kB / 375.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2739, allocations: 0 / 375.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of Templates: time 0.005943/0.2798, allocations: 2.34 MB / 377.8 MB, free: 17.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches