Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.000918/0.000918, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0008816/0.0008816, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9584/0.9584, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.489e-05, allocations: 6.312 kB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003796/0.003821, allocations: 3.666 MB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.00581, allocations: 1.475 MB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.005975, allocations: 8 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.007262, allocations: 0.7892 MB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.007874, allocations: 385.8 kB / 279.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.008469, allocations: 0.5214 MB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.008813, allocations: 473.7 kB / 280.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.009218, allocations: 379.9 kB / 281.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.009513, allocations: 307.3 kB / 281.5 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.009707, allocations: 211.4 kB / 281.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.009748, allocations: 40 kB / 281.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.01003, allocations: 215.7 kB / 281.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.01009, allocations: 107.6 kB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.0102, allocations: 167.5 kB / 282.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.01067, allocations: 0.5059 MB / 282.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01067, allocations: 0 / 282.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01067, allocations: 0 / 282.7 MB, free: 7.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.01068, allocations: 0 / 282.7 MB, free: 7.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001122/0.0118, allocations: 0.8471 MB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.01183, allocations: 8.031 kB / 283.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.01379, allocations: 0.6524 MB / 284.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.01402, allocations: 177.2 kB / 284.4 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.01404, allocations: 37.69 kB / 284.4 MB, free: 6.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.0141, allocations: 60.33 kB / 284.5 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.01446, allocations: 385.3 kB / 284.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.01448, allocations: 8.109 kB / 284.8 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.01451, allocations: 28.12 kB / 284.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01452, allocations: 20 kB / 284.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.01478, allocations: 242.2 kB / 285.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01642, allocations: 1.171 MB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.0171, allocations: 0.5038 MB / 286.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.01718, allocations: 86.33 kB / 286.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.01724, allocations: 28.47 kB / 286.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01727, allocations: 46.94 kB / 287 MB, free: 3.484 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.01727, allocations: 0 / 287 MB, free: 3.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006823/0.01795, allocations: 422.6 kB / 287.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.01798, allocations: 59.91 kB / 287.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.01807, allocations: 169.1 kB / 287.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01809, allocations: 33.7 kB / 287.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.01818, allocations: 221 kB / 287.8 MB, free: 2.555 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.01827, allocations: 170.5 kB / 288 MB, free: 2.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.01835, allocations: 90.08 kB / 288.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.01843, allocations: 334.8 kB / 288.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.0185, allocations: 56.97 kB / 288.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.0186, allocations: 128.3 kB / 288.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.0188, allocations: 236.6 kB / 288.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.0188, allocations: 0 / 288.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003275/0.01913, allocations: 311 kB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01914, allocations: 9.719 kB / 289.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01915, allocations: 0 / 289.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.01939, allocations: 85.02 kB / 289.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.01957, allocations: 95.81 kB / 289.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1222/0.1418, allocations: 1.581 MB / 290.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.142, allocations: 42.67 kB / 290.9 MB, free: 20.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.142, allocations: 13.84 kB / 291 MB, free: 20.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001254/0.1421, allocations: 134.7 kB / 291.1 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1422, allocations: 31.72 kB / 291.1 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.1426, allocations: 321.7 kB / 291.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1427, allocations: 6.094 kB / 291.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1427, allocations: 2.219 kB / 291.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1427, allocations: 2.859 kB / 291.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.1434, allocations: 0.6073 MB / 292.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1434, allocations: 1.703 kB / 292.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1436, allocations: 76.31 kB / 292.1 MB, free: 19.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.1438, allocations: 86.84 kB / 292.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1438, allocations: 10.72 kB / 292.2 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008645/0.1447, allocations: 1.594 MB / 293.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1447, allocations: 1.188 kB / 293.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.1452, allocations: 460.1 kB / 294.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.1452, allocations: 30.77 kB / 294.3 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1452, allocations: 7.094 kB / 294.3 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.1453, allocations: 21.98 kB / 294.3 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.1454, allocations: 33.73 kB / 294.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1454, allocations: 10.73 kB / 294.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.1455, allocations: 37.84 kB / 294.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1455, allocations: 2.875 kB / 294.4 MB, free: 18.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.1459, allocations: 150.2 kB / 294.6 MB, free: 18.47 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 (42): * Single equations (assignments): 41 * 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.0001922/0.1461, allocations: 129.3 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.1465, allocations: 398.6 kB / 295.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.1465, allocations: 1.125 kB / 295.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.1468, allocations: 287.4 kB / 295.4 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.147, allocations: 38.36 kB / 295.4 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1481, allocations: 0.7107 MB / 296.1 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.1482, allocations: 109.8 kB / 296.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1483, allocations: 45.41 kB / 296.3 MB, free: 17.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.1484, allocations: 95.33 kB / 296.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1484, allocations: 1.219 kB / 296.4 MB, free: 17.64 MB / 266.7 MB Notification: Performance of Templates: time 0.008434/0.1569, allocations: 4.726 MB / 301.1 MB, free: 17.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/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: 2.5262884879484773]