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.001061/0.001061, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001061/0.001061, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.289 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.764e-06/1.764e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.193e-05, allocations: 5.688 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005503/0.005535, allocations: 3.669 MB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.008418, allocations: 1.448 MB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.008696, allocations: 8 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.01041, allocations: 0.7932 MB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000855/0.01126, allocations: 393.8 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.01194, allocations: 0.5321 MB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.01231, allocations: 469.7 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.01277, allocations: 366 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.01312, allocations: 303.2 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.01337, allocations: 203.5 kB / 281.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.01342, allocations: 40 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.01373, allocations: 207.6 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.01379, allocations: 107.6 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.0139, allocations: 159.6 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.01442, allocations: 0.5021 MB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01442, allocations: 0 / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01442, allocations: 0 / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.01443, allocations: 4 kB / 282.1 MB, free: 8.207 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.001307/0.01573, allocations: 0.9445 MB / 283.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.01577, allocations: 12.03 kB / 283.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.01762, allocations: 0.5858 MB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.01792, allocations: 247.9 kB / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.01795, allocations: 41.69 kB / 284 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.01802, allocations: 52.38 kB / 284 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.01854, allocations: 417.4 kB / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01856, allocations: 8.172 kB / 284.4 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.0186, allocations: 32.12 kB / 284.5 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01861, allocations: 12 kB / 284.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.01907, allocations: 335.5 kB / 284.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.02081, allocations: 1.516 MB / 286.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.02169, allocations: 0.5876 MB / 286.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.02185, allocations: 129.1 kB / 287 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.0219, allocations: 24.48 kB / 287.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.02193, allocations: 41.89 kB / 287.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.02193, allocations: 3.938 kB / 287.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.000975/0.0229, allocations: 0.551 MB / 287.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.02293, allocations: 59.84 kB / 287.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.02306, allocations: 228.4 kB / 287.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.02308, allocations: 37.7 kB / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.02319, allocations: 267.7 kB / 288.2 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.02327, allocations: 162.6 kB / 288.4 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.02337, allocations: 103.8 kB / 288.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02349, allocations: 0.504 MB / 289 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.02362, allocations: 84.95 kB / 289.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.02379, allocations: 186.9 kB / 289.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.02409, allocations: 295.3 kB / 289.5 MB, free: 492 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.0241, allocations: 8 kB / 289.6 MB, free: 484 kB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005173/0.02462, allocations: 436.7 kB / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02463, allocations: 8 kB / 290 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.02464, allocations: 0 / 290 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1181/0.1427, allocations: 93.31 kB / 290.1 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.143, allocations: 88.25 kB / 290.2 MB, free: 21.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.1444, allocations: 2.325 MB / 292.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1446, allocations: 40.36 kB / 292.5 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1447, allocations: 19.62 kB / 292.5 MB, free: 19.2 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.0001611/0.1448, allocations: 181.3 kB / 292.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1449, allocations: 46.98 kB / 292.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.1456, allocations: 431.1 kB / 293.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1456, allocations: 5.625 kB / 293.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1456, allocations: 1.062 kB / 293.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1456, allocations: 4.375 kB / 293.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.1465, allocations: 0.8968 MB / 294.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1465, allocations: 0 / 294.1 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1467, allocations: 72.56 kB / 294.2 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.147, allocations: 95.28 kB / 294.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.147, allocations: 14 kB / 294.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.1481, allocations: 2.324 MB / 296.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1481, allocations: 0 / 296.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.1488, allocations: 0.6369 MB / 297.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1488, allocations: 32.73 kB / 297.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1489, allocations: 9.797 kB / 297.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.149, allocations: 17.75 kB / 297.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.1491, allocations: 36.62 kB / 297.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1491, allocations: 14.02 kB / 297.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.1491, allocations: 159 kB / 297.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1491, allocations: 0 / 297.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004655/0.1496, allocations: 148.6 kB / 297.6 MB, free: 16.3 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.0001974/0.1498, allocations: 142.9 kB / 297.8 MB, free: 16.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.1504, allocations: 0.5147 MB / 298.3 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1505, allocations: 0 / 298.3 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1508, allocations: 376.5 kB / 298.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1511, allocations: 36.42 kB / 298.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1523, allocations: 0.74 MB / 299.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.1523, allocations: 111.5 kB / 299.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1524, allocations: 45.56 kB / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1525, allocations: 39.5 kB / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1525, allocations: 0 / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Templates: time 0.007536/0.1601, allocations: 4.383 MB / 304 MB, free: 14.92 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 -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: 3.1357125299982727]