Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0009212/0.0009212, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009982/0.0009982, allocations: 165.8 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.803/0.803, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.702e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003599/0.003616, allocations: 3.638 MB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005594, allocations: 1.472 MB / 256.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005745, allocations: 8 kB / 256.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.006725, allocations: 0.8047 MB / 257.4 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.0074, allocations: 409.8 kB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.008042, allocations: 0.533 MB / 258.4 MB, free: 380 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.008397, allocations: 0.5054 MB / 258.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.008838, allocations: 454.6 kB / 259.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.009114, allocations: 327.3 kB / 259.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.009314, allocations: 223.4 kB / 259.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.009356, allocations: 44 kB / 259.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.009612, allocations: 207.6 kB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.00967, allocations: 123.5 kB / 260.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.009772, allocations: 167.6 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.0102, allocations: 0.5215 MB / 260.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.0102, allocations: 4 kB / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01021, allocations: 0 / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.01021, allocations: 0 / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00113/0.01134, allocations: 0.8899 MB / 261.8 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.01137, allocations: 15.98 kB / 261.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.0135, allocations: 0.8123 MB / 262.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.01373, allocations: 181.2 kB / 262.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.01375, allocations: 41.69 kB / 262.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.01381, allocations: 60.36 kB / 262.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.01419, allocations: 421.3 kB / 263.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01421, allocations: 4.125 kB / 263.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.01425, allocations: 27.94 kB / 263.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.01426, allocations: 16 kB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.01455, allocations: 262.2 kB / 263.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.01601, allocations: 1.279 MB / 264.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.01674, allocations: 0.5835 MB / 265.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01688, allocations: 138.3 kB / 265.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.01693, allocations: 16.48 kB / 265.6 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.01695, allocations: 39.06 kB / 265.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.653e-06/0.01695, allocations: 0 / 265.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.000574/0.01753, allocations: 382.6 kB / 266.1 MB, free: 8.531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.01755, allocations: 59.84 kB / 266.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.01764, allocations: 178.5 kB / 266.3 MB, free: 8.273 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01766, allocations: 37.7 kB / 266.3 MB, free: 8.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.01774, allocations: 248.7 kB / 266.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.01781, allocations: 174.5 kB / 266.7 MB, free: 7.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.0179, allocations: 98.25 kB / 266.8 MB, free: 7.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.01797, allocations: 342.7 kB / 267.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.159e-05/0.01803, allocations: 57.28 kB / 267.2 MB, free: 7.309 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01815, allocations: 180.7 kB / 267.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.01836, allocations: 299.3 kB / 267.7 MB, free: 6.742 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01836, allocations: 4 kB / 267.7 MB, free: 6.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003278/0.01869, allocations: 342.9 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.0187, allocations: 4.469 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01871, allocations: 8 kB / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.01892, allocations: 88.72 kB / 268.1 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.01911, allocations: 103.9 kB / 268.2 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008353/0.01995, allocations: 1.393 MB / 269.6 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.02007, allocations: 55.56 kB / 269.7 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.02009, allocations: 16 kB / 269.7 MB, free: 4.637 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0001055/0.0202, allocations: 145.7 kB / 269.8 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.02024, allocations: 31.97 kB / 269.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.02058, allocations: 323 kB / 270.2 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02058, allocations: 8 kB / 270.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02059, allocations: 3.984 kB / 270.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02059, allocations: 0 / 270.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.02118, allocations: 0.643 MB / 270.8 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02118, allocations: 0 / 270.8 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.02134, allocations: 79.91 kB / 270.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.0215, allocations: 80.78 kB / 271 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.02152, allocations: 11.94 kB / 271 MB, free: 3.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/0.0222, allocations: 1.374 MB / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02221, allocations: 0 / 272.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.02259, allocations: 465.5 kB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.02262, allocations: 39.66 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.02264, allocations: 12 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.02274, allocations: 20 kB / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.02279, allocations: 36.42 kB / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.0228, allocations: 8 kB / 272.9 MB, free: 1.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.02284, allocations: 49.84 kB / 273 MB, free: 1.164 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02284, allocations: 0 / 273 MB, free: 1.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.02312, allocations: 159.6 kB / 273.2 MB, free: 1.008 MB / 250.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 (46): * Single equations (assignments): 45 * 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.0001375/0.02326, allocations: 124.3 kB / 273.3 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.02364, allocations: 417.7 kB / 273.7 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.02365, allocations: 4 kB / 273.7 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.02384, allocations: 288.3 kB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.02401, allocations: 35.92 kB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.02498, allocations: 0.784 MB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.02505, allocations: 110.6 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.02517, allocations: 54.94 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.02528, allocations: 99.3 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02528, allocations: 0 / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Templates: time 0.006263/0.03155, allocations: 4.668 MB / 279.7 MB, free: 10.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.5376597298309207]