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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009639/0.0009639, allocations: 169.9 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8612/0.8612, allocations: 158.6 MB / 187.2 MB, free: 2.539 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.553e-05, allocations: 2.312 kB / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003608/0.003634, allocations: 3.236 MB / 254.3 MB, free: 344 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.005565, allocations: 1.293 MB / 255.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.005812, allocations: 11.94 kB / 255.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.006231, allocations: 154.9 kB / 255.7 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.006955, allocations: 310.1 kB / 256 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.007326, allocations: 251 kB / 256.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.007806, allocations: 469.7 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.00799, allocations: 96.81 kB / 256.8 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.008284, allocations: 287.4 kB / 257.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.00852, allocations: 179.5 kB / 257.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.008566, allocations: 32 kB / 257.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.008829, allocations: 151.7 kB / 257.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.00888, allocations: 83.67 kB / 257.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.008984, allocations: 131.6 kB / 257.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.009453, allocations: 398.5 kB / 258.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.009457, allocations: 4 kB / 258.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.009459, allocations: 3.984 kB / 258.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.009466, allocations: 4 kB / 258.1 MB, free: 12.51 MB / 250.7 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.0009196/0.01039, allocations: 0.7532 MB / 258.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01043, allocations: 15.98 kB / 258.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.01078, allocations: 128.5 kB / 259 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.01104, allocations: 243.9 kB / 259.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.01106, allocations: 33.38 kB / 259.2 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.0111, allocations: 32.36 kB / 259.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.01149, allocations: 347.5 kB / 259.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.01149, allocations: 192 / 259.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.01152, allocations: 20.31 kB / 259.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01153, allocations: 11.94 kB / 259.6 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.01172, allocations: 130.9 kB / 259.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.0129, allocations: 1.21 MB / 261 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.01314, allocations: 156.7 kB / 261.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.0132, allocations: 63.34 kB / 261.2 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/0.01367, allocations: 0.6939 MB / 261.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.0137, allocations: 37.39 kB / 261.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.0137, allocations: 0 / 261.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002686/0.01397, allocations: 161.8 kB / 262.1 MB, free: 8.258 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.014, allocations: 81.09 kB / 262.2 MB, free: 8.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.0142, allocations: 326.4 kB / 262.5 MB, free: 7.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.01421, allocations: 29.7 kB / 262.5 MB, free: 7.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01433, allocations: 294.7 kB / 262.8 MB, free: 7.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.01436, allocations: 71.42 kB / 262.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.01443, allocations: 63.69 kB / 262.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01455, allocations: 0.5117 MB / 263.4 MB, free: 6.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.0146, allocations: 36.62 kB / 263.5 MB, free: 6.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.01474, allocations: 230.9 kB / 263.7 MB, free: 6.488 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.01494, allocations: 277.5 kB / 264 MB, free: 6.133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01495, allocations: 4 kB / 264 MB, free: 6.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002754/0.01522, allocations: 269 kB / 264.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01524, allocations: 4 kB / 264.2 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01525, allocations: 8 kB / 264.3 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01526, allocations: 4 kB / 264.3 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01542, allocations: 76.47 kB / 264.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.01543, allocations: 19.86 kB / 264.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.304e-05/0.01553, allocations: 43.72 kB / 264.4 MB, free: 5.707 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01554, allocations: 12 kB / 264.4 MB, free: 5.695 MB / 250.7 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 8.847e-05/0.01563, allocations: 176.5 kB / 264.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.01567, allocations: 31.86 kB / 264.6 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.01571, allocations: 25.8 kB / 264.6 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01571, allocations: 4 kB / 264.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01571, allocations: 0 / 264.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01572, allocations: 7.984 kB / 264.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.01614, allocations: 464.8 kB / 265.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01614, allocations: 0 / 265.1 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.01627, allocations: 43.91 kB / 265.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01627, allocations: 4 kB / 265.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.01628, allocations: 4 kB / 265.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01629, allocations: 320 / 265.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01629, allocations: 4 kB / 265.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01661, allocations: 450.5 kB / 265.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.01664, allocations: 23.86 kB / 265.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.01666, allocations: 11.98 kB / 265.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.01676, allocations: 8 kB / 265.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.0168, allocations: 23.84 kB / 265.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01681, allocations: 4 kB / 265.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.01693, allocations: 219 kB / 265.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 4 kB / 265.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.01719, allocations: 79.84 kB / 266 MB, free: 4.055 MB / 250.7 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.0001186/0.01731, allocations: 115.2 kB / 266.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.0175, allocations: 144.8 kB / 266.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0175, allocations: 0 / 266.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.01756, allocations: 55.84 kB / 266.3 MB, free: 3.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01782, allocations: 24.98 kB / 266.3 MB, free: 3.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.01875, allocations: 0.6062 MB / 266.9 MB, free: 3.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.552e-05/0.0188, allocations: 88.31 kB / 267 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.01888, allocations: 38.27 kB / 267 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.01893, allocations: 28.5 kB / 267.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01893, allocations: 0 / 267.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of Templates: time 0.00446/0.02339, allocations: 2.358 MB / 269.4 MB, free: 0.5586 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5726239001378417]