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.001156/0.001156, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001281/0.001281, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9812/0.9812, allocations: 177 MB / 205.1 MB, free: 5.469 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 3.947e-06/3.947e-06, allocations: 4 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.311e-05, allocations: 4.984 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005255/0.005288, allocations: 3.615 MB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.008029, allocations: 1.425 MB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.008322, allocations: 8 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.009899, allocations: 0.7698 MB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.01118, allocations: 385.8 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009546/0.01213, allocations: 0.5246 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.01272, allocations: 485.7 kB / 280.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007248/0.01345, allocations: 414.2 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.014, allocations: 323.1 kB / 281.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.01433, allocations: 211.4 kB / 281.4 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.919e-05/0.01441, allocations: 44 kB / 281.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.0149, allocations: 207.7 kB / 281.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.01499, allocations: 111.6 kB / 281.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.01516, allocations: 159.5 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008364/0.016, allocations: 0.5177 MB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.01601, allocations: 4 kB / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01601, allocations: 0 / 282.5 MB, free: 8.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01602, allocations: 0 / 282.5 MB, free: 8.02 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.001924/0.01794, allocations: 0.9601 MB / 283.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.01798, allocations: 11.98 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.02118, allocations: 0.5819 MB / 284 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.0216, allocations: 255.7 kB / 284.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.02164, allocations: 37.69 kB / 284.3 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.02173, allocations: 60.31 kB / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006578/0.02239, allocations: 377.4 kB / 284.7 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.02242, allocations: 8.172 kB / 284.8 MB, free: 5.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.02247, allocations: 32.06 kB / 284.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.02248, allocations: 12 kB / 284.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.02299, allocations: 278.1 kB / 285.1 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.02555, allocations: 1.509 MB / 286.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.02671, allocations: 0.5402 MB / 287.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.02698, allocations: 148.2 kB / 287.3 MB, free: 3.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-05/0.02708, allocations: 36.47 kB / 287.3 MB, free: 3.055 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.02711, allocations: 37.89 kB / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.407e-06/0.02711, allocations: 0 / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001152/0.02826, allocations: 468.2 kB / 287.8 MB, free: 2.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.0283, allocations: 55.91 kB / 287.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.02846, allocations: 225.7 kB / 288.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.0285, allocations: 33.7 kB / 288.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.02865, allocations: 279.7 kB / 288.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.02878, allocations: 166.5 kB / 288.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.02893, allocations: 99.75 kB / 288.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.02911, allocations: 0.5079 MB / 289.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.02924, allocations: 64.94 kB / 289.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.02945, allocations: 182.3 kB / 289.4 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.02983, allocations: 286.1 kB / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.02983, allocations: 0 / 289.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006962/0.03053, allocations: 389 kB / 290 MB, free: 132 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.03055, allocations: 4 kB / 290 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.03056, allocations: 7.938 kB / 290.1 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.03092, allocations: 95.53 kB / 290.1 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1087/0.1396, allocations: 89.75 kB / 290.2 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.1406, allocations: 1.96 MB / 292.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.1408, allocations: 39.33 kB / 292.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.1408, allocations: 18.67 kB / 292.3 MB, free: 18.98 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.000122/0.1409, allocations: 182.8 kB / 292.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.141, allocations: 39.5 kB / 292.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.1415, allocations: 391.4 kB / 292.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1415, allocations: 5.344 kB / 292.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1415, allocations: 1.062 kB / 292.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1415, allocations: 4.688 kB / 292.9 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.1423, allocations: 0.8249 MB / 293.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1424, allocations: 2.188 kB / 293.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1425, allocations: 80.28 kB / 293.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.1428, allocations: 86.66 kB / 293.9 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1428, allocations: 12.97 kB / 293.9 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007736/0.1436, allocations: 1.962 MB / 295.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1436, allocations: 3 kB / 295.8 MB, free: 16.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.1441, allocations: 0.5816 MB / 296.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1441, allocations: 27 kB / 296.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.1442, allocations: 14.75 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1443, allocations: 14.44 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.1444, allocations: 36.73 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1444, allocations: 12.22 kB / 296.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.1444, allocations: 156.2 kB / 296.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1444, allocations: 3.562 kB / 296.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.1448, allocations: 155.5 kB / 296.8 MB, free: 16.33 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.0001856/0.145, allocations: 149.4 kB / 297 MB, free: 16.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.1455, allocations: 477.8 kB / 297.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1455, allocations: 1.344 kB / 297.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.1458, allocations: 360.2 kB / 297.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1461, allocations: 34.14 kB / 297.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1471, allocations: 0.7425 MB / 298.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.1472, allocations: 110.2 kB / 298.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1473, allocations: 47.78 kB / 298.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1475, allocations: 121 kB / 298.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1475, allocations: 0 / 298.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Templates: time 0.00774/0.1552, allocations: 4.745 MB / 303.6 MB, free: 14.9 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.7322294348850846]