Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.0009032/0.0009032, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.000892/0.000892, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.914/0.914, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.425e-05, allocations: 2.312 kB / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00322/0.003234, allocations: 3.672 MB / 276.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004738, allocations: 1.437 MB / 278.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.004868, allocations: 8 kB / 278.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009682/0.005836, allocations: 0.7932 MB / 279 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.006368, allocations: 397.8 kB / 279.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.006961, allocations: 0.5286 MB / 279.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.007296, allocations: 477.7 kB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.007757, allocations: 422.2 kB / 280.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.008033, allocations: 315.2 kB / 281.1 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.008221, allocations: 211.4 kB / 281.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.008264, allocations: 44 kB / 281.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.008511, allocations: 215.7 kB / 281.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.008567, allocations: 115.6 kB / 281.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.008669, allocations: 155.6 kB / 281.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.009117, allocations: 0.5099 MB / 282.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.009119, allocations: 0 / 282.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00912, allocations: 0 / 282.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.009124, allocations: 0 / 282.3 MB, free: 8.574 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.001286/0.01041, allocations: 0.9602 MB / 283.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.01044, allocations: 8.031 kB / 283.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.01252, allocations: 0.5819 MB / 283.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.01278, allocations: 258.9 kB / 284.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.01281, allocations: 45.62 kB / 284.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.01287, allocations: 52.38 kB / 284.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.01338, allocations: 429.4 kB / 284.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.0134, allocations: 192 / 284.6 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.01343, allocations: 24.12 kB / 284.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.01344, allocations: 20 kB / 284.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.0139, allocations: 335.6 kB / 285 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.01564, allocations: 1.502 MB / 286.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.0165, allocations: 0.5632 MB / 287.1 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.01674, allocations: 179.5 kB / 287.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.01679, allocations: 20.48 kB / 287.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01681, allocations: 41.89 kB / 287.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.552e-06/0.01681, allocations: 4 kB / 287.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009014/0.01772, allocations: 0.5081 MB / 287.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.01774, allocations: 55.91 kB / 287.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.01787, allocations: 224.4 kB / 288.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.0179, allocations: 37.7 kB / 288.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01801, allocations: 275.7 kB / 288.4 MB, free: 2.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.01809, allocations: 166.5 kB / 288.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.0182, allocations: 99.8 kB / 288.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01832, allocations: 0.504 MB / 289.1 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.01845, allocations: 88.94 kB / 289.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.01863, allocations: 202.2 kB / 289.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.01896, allocations: 318.2 kB / 289.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01896, allocations: 0 / 289.7 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000532/0.01949, allocations: 424.8 kB / 290.2 MB, free: 400 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01951, allocations: 8.281 kB / 290.2 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01951, allocations: 4 kB / 290.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.01979, allocations: 95.55 kB / 290.3 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.01999, allocations: 99.83 kB / 290.4 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1005/0.1204, allocations: 1.984 MB / 292.3 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1207, allocations: 41.08 kB / 292.4 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1207, allocations: 20.62 kB / 292.4 MB, free: 25.8 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.0001414/0.1208, allocations: 188.8 kB / 292.6 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.1209, allocations: 41.77 kB / 292.6 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.1215, allocations: 422.5 kB / 293 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1215, allocations: 9.844 kB / 293 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1215, allocations: 1.719 kB / 293 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1215, allocations: 3.609 kB / 293.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.1226, allocations: 0.9213 MB / 294 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1226, allocations: 1.125 kB / 294 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.1228, allocations: 81.52 kB / 294.1 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.123, allocations: 87.38 kB / 294.1 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.123, allocations: 14.31 kB / 294.2 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008685/0.1239, allocations: 2.002 MB / 296.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1239, allocations: 0 / 296.2 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.1246, allocations: 0.6365 MB / 296.8 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.1246, allocations: 31.72 kB / 296.8 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1247, allocations: 12.05 kB / 296.8 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1248, allocations: 12.75 kB / 296.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.1249, allocations: 41.48 kB / 296.9 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1249, allocations: 16 kB / 296.9 MB, free: 23.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.856e-05/0.1249, allocations: 158.3 kB / 297.1 MB, free: 23.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1249, allocations: 0 / 297.1 MB, free: 23.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.1254, allocations: 160.2 kB / 297.2 MB, free: 22.97 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.0001881/0.1255, allocations: 139.9 kB / 297.4 MB, free: 22.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/0.1262, allocations: 0.5026 MB / 297.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1262, allocations: 0 / 297.9 MB, free: 22.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.1264, allocations: 378.9 kB / 298.2 MB, free: 22.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1267, allocations: 42.67 kB / 298.3 MB, free: 22.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1278, allocations: 0.7567 MB / 299 MB, free: 21.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.1279, allocations: 110.8 kB / 299.1 MB, free: 21.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.128, allocations: 46.05 kB / 299.2 MB, free: 21.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1281, allocations: 40.03 kB / 299.2 MB, free: 21.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1281, allocations: 3.938 kB / 299.2 MB, free: 21.84 MB / 266.7 MB Notification: Performance of Templates: time 0.006622/0.1347, allocations: 4.351 MB / 303.6 MB, free: 21.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7715083949733526]