Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001366/0.001366, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001231/0.001231, allocations: 176.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2419, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004937/0.2468, allocations: 3.282 MB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2492, allocations: 1.3 MB / 406 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.2496, allocations: 8 kB / 406 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.2502, allocations: 147.1 kB / 406.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.2515, allocations: 455.5 kB / 406.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.252, allocations: 163.6 kB / 406.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.2527, allocations: 454 kB / 407.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.253, allocations: 144.2 kB / 407.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.2533, allocations: 171.3 kB / 407.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.2537, allocations: 195.2 kB / 407.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.2538, allocations: 36 kB / 407.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.2542, allocations: 167.8 kB / 407.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.2542, allocations: 75.75 kB / 408 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.2545, allocations: 199 kB / 408.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.2552, allocations: 0.5345 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2552, allocations: 0 / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2552, allocations: 0 / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.2552, allocations: 0 / 408.7 MB, free: 1.566 MB / 318.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.001559/0.2568, allocations: 0.737 MB / 409.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2569, allocations: 15.97 kB / 409.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.2575, allocations: 100.3 kB / 409.5 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.258, allocations: 304.5 kB / 409.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2581, allocations: 25.38 kB / 409.9 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.2581, allocations: 36.38 kB / 409.9 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.2588, allocations: 357.6 kB / 410.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2589, allocations: 0 / 410.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.2589, allocations: 16 kB / 410.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2589, allocations: 8 kB / 410.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.2594, allocations: 250.1 kB / 410.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.2615, allocations: 1.3 MB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.2619, allocations: 193.2 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2621, allocations: 89.67 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/0.263, allocations: 0.8752 MB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.263, allocations: 30.56 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.263, allocations: 0 / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005621/0.2636, allocations: 221.2 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.2636, allocations: 92.97 kB / 413.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.2639, allocations: 287 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.264, allocations: 29.7 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2641, allocations: 239.4 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.2642, allocations: 63.09 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2643, allocations: 61.94 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2644, allocations: 334.8 kB / 414.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2646, allocations: 72.61 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2648, allocations: 206.3 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.2652, allocations: 295.3 kB / 414.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2653, allocations: 4 kB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005538/0.2658, allocations: 316.9 kB / 415.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2658, allocations: 4 kB / 415.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2659, allocations: 8 kB / 415.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2659, allocations: 4.562 kB / 415.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.2662, allocations: 87.77 kB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2662, allocations: 12.06 kB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2664, allocations: 35.59 kB / 415.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2665, allocations: 20 kB / 415.3 MB, free: 10.38 MB / 334.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.0001521/0.2666, allocations: 161.6 kB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.2667, allocations: 23.72 kB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.2668, allocations: 29.73 kB / 415.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2668, allocations: 7.938 kB / 415.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.2668, allocations: 4 kB / 415.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2668, allocations: 0 / 415.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.2675, allocations: 0.5068 MB / 416.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2676, allocations: 4 kB / 416.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2678, allocations: 43.91 kB / 416.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2678, allocations: 0 / 416.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2678, allocations: 12.03 kB / 416.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2678, allocations: 0 / 416.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2678, allocations: 7.938 kB / 416.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.2684, allocations: 411.2 kB / 416.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.2685, allocations: 117.1 kB / 416.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.2685, allocations: 0 / 416.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2687, allocations: 23.98 kB / 416.7 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2688, allocations: 11.98 kB / 416.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2688, allocations: 4 kB / 416.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.269, allocations: 194 kB / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.269, allocations: 0 / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.2694, allocations: 83.78 kB / 416.9 MB, free: 8.652 MB / 334.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.0001543/0.2696, allocations: 119.2 kB / 417.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.27, allocations: 187.9 kB / 417.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.27, allocations: 0 / 417.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2702, allocations: 75.84 kB / 417.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2706, allocations: 32.81 kB / 417.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2717, allocations: 0.673 MB / 418 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.272, allocations: 0.7751 MB / 418.8 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.2721, allocations: 31.38 kB / 418.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2721, allocations: 0 / 418.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of Templates: time 0.005296/0.2774, allocations: 3.464 MB / 422.3 MB, free: 3.238 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches