Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 83.89 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9246/0.9246, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.738e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00397/0.003988, allocations: 3.655 MB / 271.7 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.005895, allocations: 1.394 MB / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.006057, allocations: 12 kB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.007183, allocations: 0.7971 MB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/0.007984, allocations: 0.5206 MB / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.008516, allocations: 405.9 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.008925, allocations: 485.7 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.009455, allocations: 422.2 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.009793, allocations: 307.3 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.01003, allocations: 211.4 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.01008, allocations: 44 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.01045, allocations: 195.8 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.01052, allocations: 107.6 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.01064, allocations: 175.5 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.01118, allocations: 0.5059 MB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01119, allocations: 0 / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01119, allocations: 4 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01119, allocations: 0 / 277.2 MB, free: 13.2 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.001335/0.01253, allocations: 0.9524 MB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01257, allocations: 8.031 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.01446, allocations: 0.6015 MB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.01475, allocations: 251.5 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01478, allocations: 45.67 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.01484, allocations: 68.31 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.01537, allocations: 425.3 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.01539, allocations: 192 / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.01542, allocations: 24.12 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01544, allocations: 12 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.01588, allocations: 339.5 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.01757, allocations: 1.49 MB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.01839, allocations: 0.5675 MB / 281.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.01862, allocations: 179.7 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.01866, allocations: 12.5 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.01869, allocations: 45.88 kB / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.824e-06/0.01869, allocations: 0 / 282.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008481/0.01954, allocations: 0.4964 MB / 282.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.01956, allocations: 59.91 kB / 282.7 MB, free: 7.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.01969, allocations: 225.8 kB / 283 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01971, allocations: 37.64 kB / 283 MB, free: 7.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01981, allocations: 275.7 kB / 283.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.0199, allocations: 166.5 kB / 283.4 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.01999, allocations: 91.84 kB / 283.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.02011, allocations: 0.5079 MB / 284 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.02022, allocations: 76.95 kB / 284.1 MB, free: 6.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.02038, allocations: 202.3 kB / 284.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.02069, allocations: 322.2 kB / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02069, allocations: 0 / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004872/0.02118, allocations: 436.7 kB / 285 MB, free: 5.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.02119, allocations: 4 kB / 285 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.0212, allocations: 4 kB / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.02147, allocations: 95.83 kB / 285.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.02166, allocations: 91.89 kB / 285.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.02275, allocations: 2.002 MB / 287.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02286, allocations: 47.66 kB / 287.3 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.02288, allocations: 19.98 kB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.02299, allocations: 184.5 kB / 287.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.02304, allocations: 39.89 kB / 287.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.02352, allocations: 420.1 kB / 287.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02353, allocations: 8 kB / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.02353, allocations: 0 / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.02354, allocations: 7.984 kB / 287.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.02437, allocations: 0.9145 MB / 288.8 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.02438, allocations: 4 kB / 288.9 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.02454, allocations: 75.91 kB / 288.9 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.02474, allocations: 91.66 kB / 289 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.02476, allocations: 12 kB / 289 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1157/0.1404, allocations: 1.994 MB / 291 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1404, allocations: 0.5156 kB / 291 MB, free: 23.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.1412, allocations: 0.6374 MB / 291.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1412, allocations: 30.7 kB / 291.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1412, allocations: 9.125 kB / 291.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1414, allocations: 18.95 kB / 291.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.1415, allocations: 37.19 kB / 291.8 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1415, allocations: 14.75 kB / 291.8 MB, free: 23.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.1416, allocations: 166.1 kB / 291.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1416, allocations: 0.8438 kB / 291.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000408/0.142, allocations: 152.5 kB / 292.1 MB, free: 23.03 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002074/0.1422, allocations: 141.8 kB / 292.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006677/0.1428, allocations: 0.5005 MB / 292.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1428, allocations: 2.562 kB / 292.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.1432, allocations: 383.9 kB / 293.1 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1434, allocations: 33.47 kB / 293.1 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1447, allocations: 0.7479 MB / 293.9 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.12e-05/0.1448, allocations: 110.7 kB / 294 MB, free: 22.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1449, allocations: 50.41 kB / 294 MB, free: 22.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.145, allocations: 38.61 kB / 294.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.145, allocations: 0 / 294.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007686/0.1527, allocations: 4.556 MB / 298.6 MB, free: 21.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.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.809662932064384]