Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9605/0.9605, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.057e-05, allocations: 5.406 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003481/0.003502, allocations: 3.669 MB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.005491, allocations: 1.433 MB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.005685, allocations: 11.94 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.006763, allocations: 0.7971 MB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.007423, allocations: 381.8 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.008118, allocations: 0.5289 MB / 279.8 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.008616, allocations: 485.7 kB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.009158, allocations: 414.2 kB / 280.7 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.00951, allocations: 319.2 kB / 281 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.009725, allocations: 211.4 kB / 281.2 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.009776, allocations: 44 kB / 281.2 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.01014, allocations: 207.7 kB / 281.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.0102, allocations: 115.6 kB / 281.6 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.01033, allocations: 159.6 kB / 281.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.01091, allocations: 0.5098 MB / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01091, allocations: 0 / 282.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01091, allocations: 4 kB / 282.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.01091, allocations: 0 / 282.2 MB, free: 8.434 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.001387/0.0123, allocations: 0.9563 MB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.01233, allocations: 11.98 kB / 283.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.01451, allocations: 0.5819 MB / 283.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.01482, allocations: 263.9 kB / 284 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.01485, allocations: 37.69 kB / 284.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.01492, allocations: 56.38 kB / 284.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.01546, allocations: 425.4 kB / 284.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.01547, allocations: 4.188 kB / 284.5 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.01551, allocations: 24.12 kB / 284.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01552, allocations: 16 kB / 284.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.01599, allocations: 343.5 kB / 284.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.01776, allocations: 1.502 MB / 286.4 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.01864, allocations: 0.5676 MB / 287 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.01888, allocations: 177 kB / 287.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/0.01894, allocations: 24.48 kB / 287.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.01896, allocations: 37.89 kB / 287.2 MB, free: 3.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.744e-06/0.01896, allocations: 0 / 287.2 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008983/0.01986, allocations: 0.512 MB / 287.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.01989, allocations: 55.91 kB / 287.8 MB, free: 2.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.02002, allocations: 229.7 kB / 288 MB, free: 2.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.02004, allocations: 33.7 kB / 288 MB, free: 2.406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.02014, allocations: 271.7 kB / 288.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.02023, allocations: 166.5 kB / 288.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.02032, allocations: 95.8 kB / 288.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.02044, allocations: 0.5118 MB / 289.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.02057, allocations: 88.88 kB / 289.2 MB, free: 1.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.02075, allocations: 202.3 kB / 289.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.02108, allocations: 318.2 kB / 289.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02108, allocations: 0 / 289.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005253/0.02161, allocations: 432.7 kB / 290.1 MB, free: 236 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.02162, allocations: 4.281 kB / 290.1 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.02162, allocations: 8 kB / 290.1 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.02191, allocations: 91.53 kB / 290.2 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.02211, allocations: 95.89 kB / 290.3 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1066/0.1287, allocations: 1.99 MB / 292.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1289, allocations: 43.3 kB / 292.3 MB, free: 25.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1289, allocations: 18.7 kB / 292.3 MB, free: 25.73 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.0001322/0.129, allocations: 184.2 kB / 292.5 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.1291, allocations: 40.17 kB / 292.6 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.1297, allocations: 426.4 kB / 293 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1297, allocations: 5.031 kB / 293 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1297, allocations: 4.047 kB / 293 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1297, allocations: 2.531 kB / 293 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.1307, allocations: 0.9153 MB / 293.9 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1307, allocations: 1.906 kB / 293.9 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1309, allocations: 81.41 kB / 294 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.1311, allocations: 88.28 kB / 294.1 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.1311, allocations: 8.75 kB / 294.1 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.132, allocations: 2.006 MB / 296.1 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.132, allocations: 9.062 kB / 296.1 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.1327, allocations: 0.6328 MB / 296.7 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.1327, allocations: 36.31 kB / 296.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1327, allocations: 8.484 kB / 296.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1328, allocations: 16.86 kB / 296.8 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.1329, allocations: 36.88 kB / 296.8 MB, free: 23.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1329, allocations: 16.62 kB / 296.8 MB, free: 23.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.133, allocations: 164.3 kB / 297 MB, free: 22.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.133, allocations: 1.25 kB / 297 MB, free: 22.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.1334, allocations: 156.1 kB / 297.2 MB, free: 22.92 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.0002025/0.1336, allocations: 147.1 kB / 297.3 MB, free: 22.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.1342, allocations: 0.4976 MB / 297.8 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1342, allocations: 0.9375 kB / 297.8 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.1346, allocations: 382.5 kB / 298.2 MB, free: 22.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1348, allocations: 40.91 kB / 298.2 MB, free: 22.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.136, allocations: 0.7458 MB / 299 MB, free: 21.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.1361, allocations: 109.4 kB / 299.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1362, allocations: 50.08 kB / 299.1 MB, free: 21.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1363, allocations: 36.12 kB / 299.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1363, allocations: 0 / 299.1 MB, free: 21.79 MB / 266.7 MB Notification: Performance of Templates: time 0.007102/0.1434, allocations: 4.341 MB / 303.5 MB, free: 21.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8091211360879242]