Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.00095/0.00095, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001055/0.001055, allocations: 167.4 kB / 25.32 MB, free: 9.473 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.9249/0.9249, allocations: 158.6 MB / 187.2 MB, free: 2.508 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.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.931e-05, allocations: 2.312 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005541/0.00557, allocations: 3.703 MB / 254.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.008599, allocations: 1.437 MB / 256.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.008851, allocations: 8 kB / 256.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.01091, allocations: 0.7932 MB / 257 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.01206, allocations: 413.8 kB / 257.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.01329, allocations: 0.5253 MB / 257.9 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006655/0.01396, allocations: 0.4976 MB / 258.4 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007339/0.01469, allocations: 354.1 kB / 258.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.01526, allocations: 323.1 kB / 259.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.01565, allocations: 215.4 kB / 259.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.01576, allocations: 47.98 kB / 259.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.01624, allocations: 191.8 kB / 259.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.01633, allocations: 123.5 kB / 259.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.01655, allocations: 167.5 kB / 259.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.01739, allocations: 0.5098 MB / 260.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.0174, allocations: 0 / 260.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0174, allocations: 0 / 260.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.01741, allocations: 0 / 260.3 MB, free: 10.28 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002187/0.0196, allocations: 0.9718 MB / 261.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.01965, allocations: 15.98 kB / 261.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.02363, allocations: 0.7457 MB / 262 MB, free: 8.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.02414, allocations: 255.9 kB / 262.3 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.0242, allocations: 41.69 kB / 262.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.0243, allocations: 56.38 kB / 262.4 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.02521, allocations: 453.4 kB / 262.8 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.02524, allocations: 192 / 262.8 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.02529, allocations: 27.94 kB / 262.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.02531, allocations: 20 kB / 262.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.02614, allocations: 379.5 kB / 263.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.0292, allocations: 1.586 MB / 264.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.03083, allocations: 0.6898 MB / 265.5 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.03108, allocations: 133.1 kB / 265.6 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.03116, allocations: 20.48 kB / 265.7 MB, free: 4.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.0312, allocations: 41.89 kB / 265.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 4.118e-06/0.0312, allocations: 0 / 265.7 MB, free: 4.715 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.00156/0.03276, allocations: 0.5549 MB / 266.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.0328, allocations: 55.91 kB / 266.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.03302, allocations: 249.6 kB / 266.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.03305, allocations: 37.7 kB / 266.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.03322, allocations: 291.5 kB / 266.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.03337, allocations: 182.4 kB / 267.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.03353, allocations: 99.98 kB / 267.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.03372, allocations: 0.5118 MB / 267.7 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.03394, allocations: 89.27 kB / 267.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.03426, allocations: 246.6 kB / 268 MB, free: 2.293 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.03479, allocations: 369.4 kB / 268.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.0348, allocations: 0 / 268.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009291/0.03573, allocations: 480.9 kB / 268.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.03575, allocations: 7.938 kB / 268.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.03576, allocations: 4 kB / 268.8 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.03623, allocations: 99.69 kB / 268.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.03659, allocations: 107.8 kB / 269 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.03836, allocations: 2.322 MB / 271.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.03853, allocations: 51.62 kB / 271.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.03855, allocations: 27.92 kB / 271.4 MB, free: 14.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.03868, allocations: 184.5 kB / 271.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.03874, allocations: 47.86 kB / 271.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.0393, allocations: 440.7 kB / 272.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.0393, allocations: 4 kB / 272.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.03931, allocations: 4 kB / 272.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.03931, allocations: 7.984 kB / 272.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009015/0.04021, allocations: 0.904 MB / 273 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.04022, allocations: 3.938 kB / 273 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.0404, allocations: 75.89 kB / 273.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.04063, allocations: 91.62 kB / 273.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.04065, allocations: 12 kB / 273.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.04195, allocations: 2.337 MB / 275.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.04195, allocations: 0 / 275.5 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.04262, allocations: 0.6382 MB / 276.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.04265, allocations: 31.73 kB / 276.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.04267, allocations: 20 kB / 276.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.04278, allocations: 15.98 kB / 276.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.04285, allocations: 32.44 kB / 276.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.04287, allocations: 19.98 kB / 276.3 MB, free: 9.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.04295, allocations: 168.2 kB / 276.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04295, allocations: 0 / 276.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004338/0.04339, allocations: 159.6 kB / 276.6 MB, free: 9.27 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.0436, allocations: 135.1 kB / 276.7 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.04423, allocations: 0.5311 MB / 277.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.04424, allocations: 0 / 277.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.04455, allocations: 385.9 kB / 277.6 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.04481, allocations: 43.98 kB / 277.7 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.04613, allocations: 0.7879 MB / 278.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.04621, allocations: 114.6 kB / 278.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.04633, allocations: 50.95 kB / 278.6 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/0.0464, allocations: 36.48 kB / 278.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0464, allocations: 0 / 278.7 MB, free: 7.09 MB / 266.7 MB Notification: Performance of Templates: time 0.006739/0.05314, allocations: 4.337 MB / 283 MB, free: 2.777 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.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: 3.0506261526606977]