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.001989/0.001989, allocations: 84.23 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002411/0.002411, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.172e-06/1.172e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.483e-05, allocations: 3.344 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004891/0.004916, allocations: 3.406 MB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.00767, allocations: 1.4 MB / 329.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.007845, allocations: 9.156 kB / 329.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.009882, allocations: 0.7375 MB / 330.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.01085, allocations: 394.3 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.01199, allocations: 0.5262 MB / 331.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.01255, allocations: 480.4 kB / 332 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007167/0.01327, allocations: 419.4 kB / 332.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.01375, allocations: 325.3 kB / 332.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.01406, allocations: 203.5 kB / 332.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.01412, allocations: 44.78 kB / 333 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.01451, allocations: 208.9 kB / 333.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.01461, allocations: 109.4 kB / 333.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.01481, allocations: 166.4 kB / 333.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.01569, allocations: 0.7183 MB / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01569, allocations: 0 / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01569, allocations: 0 / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.0157, allocations: 4 kB / 334.2 MB, free: 10.66 MB / 302.1 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.002236/0.01794, allocations: 0.8448 MB / 335 MB, free: 10.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.01797, allocations: 13.34 kB / 335 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.02169, allocations: 469.5 kB / 335.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.0221, allocations: 254.3 kB / 335.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.02214, allocations: 43.34 kB / 335.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.02223, allocations: 54.75 kB / 335.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.02327, allocations: 0.5485 MB / 336.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.02329, allocations: 1.125 kB / 336.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.02335, allocations: 24.59 kB / 336.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.02336, allocations: 17.25 kB / 336.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.02448, allocations: 0.5756 MB / 337 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.02742, allocations: 1.51 MB / 338.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.02898, allocations: 0.547 MB / 339 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.02949, allocations: 230.2 kB / 339.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-05/0.02957, allocations: 24.42 kB / 339.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.02961, allocations: 39.06 kB / 339.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.02961, allocations: 0 / 339.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001964/0.03157, allocations: 0.6694 MB / 340 MB, free: 6.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.03161, allocations: 59.84 kB / 340.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.03181, allocations: 172.2 kB / 340.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.03185, allocations: 33.7 kB / 340.3 MB, free: 5.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.03201, allocations: 232.9 kB / 340.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.03216, allocations: 162.6 kB / 340.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.03231, allocations: 90.14 kB / 340.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.03249, allocations: 334.8 kB / 341.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.03283, allocations: 152.9 kB / 341.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.03324, allocations: 237.9 kB / 341.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.03402, allocations: 417.9 kB / 341.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03402, allocations: 0 / 341.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001149/0.03517, allocations: 0.5411 MB / 342.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.03519, allocations: 4 kB / 342.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.0352, allocations: 4 kB / 342.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.03555, allocations: 84.86 kB / 342.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.03597, allocations: 103.8 kB / 342.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.03787, allocations: 1.62 MB / 344.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.03815, allocations: 51.78 kB / 344.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.03819, allocations: 16 kB / 344.3 MB, free: 1.566 MB / 302.1 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.0002026/0.03839, allocations: 173.6 kB / 344.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.03846, allocations: 23.86 kB / 344.5 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.0397, allocations: 0.5403 MB / 345 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.03971, allocations: 4 kB / 345 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.03971, allocations: 4 kB / 345 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.03972, allocations: 3.984 kB / 345 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.04149, allocations: 0.9854 MB / 346 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.04149, allocations: 0 / 346 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.04187, allocations: 75.89 kB / 346.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.04216, allocations: 88.8 kB / 346.2 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.0422, allocations: 15.92 kB / 346.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.0441, allocations: 1.635 MB / 347.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.04411, allocations: 4.031 kB / 347.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.04559, allocations: 0.7895 MB / 348.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.04565, allocations: 39.67 kB / 348.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.0457, allocations: 11.94 kB / 348.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.04595, allocations: 24.11 kB / 348.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.04605, allocations: 32.44 kB / 348.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.04609, allocations: 19.98 kB / 348.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.04621, allocations: 128.1 kB / 348.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04621, allocations: 0 / 348.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005847/0.04679, allocations: 147.7 kB / 349 MB, free: 12.64 MB / 318.1 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.0002604/0.04705, allocations: 147.1 kB / 349.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.04817, allocations: 0.5398 MB / 349.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.04818, allocations: 0 / 349.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.04882, allocations: 361.3 kB / 350 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.04917, allocations: 28.69 kB / 350.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.05064, allocations: 0.779 MB / 350.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.05085, allocations: 204.8 kB / 351 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.05102, allocations: 46.95 kB / 351.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.05113, allocations: 36.48 kB / 351.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.05113, allocations: 0 / 351.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of Templates: time 0.009975/0.0611, allocations: 4.258 MB / 355.4 MB, free: 6.203 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.414824612438679]