Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 145.7 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9799/0.9799, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 5.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.523e-05, allocations: 2.312 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003325/0.003341, allocations: 3.639 MB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.005302, allocations: 1.428 MB / 273.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.005493, allocations: 8 kB / 273.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.006494, allocations: 0.797 MB / 274.4 MB, free: 76 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.007251, allocations: 0.5166 MB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.007744, allocations: 414 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.008167, allocations: 481.7 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.008652, allocations: 442.8 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.008968, allocations: 303.4 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.009187, allocations: 207.4 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.009232, allocations: 44 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.009559, allocations: 219.6 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.009614, allocations: 111.6 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.009718, allocations: 167.5 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.01022, allocations: 0.506 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01022, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01022, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.01023, allocations: 0 / 277.7 MB, free: 12.69 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.001189/0.01142, allocations: 0.8588 MB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.01144, allocations: 8.031 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.01345, allocations: 0.668 MB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.01373, allocations: 189.1 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.01376, allocations: 37.69 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.01381, allocations: 52.38 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.01419, allocations: 389.4 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.0142, allocations: 192 / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.01423, allocations: 32.05 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01424, allocations: 12 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.0145, allocations: 234.3 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01596, allocations: 1.209 MB / 281.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.01658, allocations: 497.6 kB / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.01673, allocations: 130.3 kB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.01678, allocations: 24.42 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.0168, allocations: 39.06 kB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.0168, allocations: 0 / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006481/0.01745, allocations: 386.6 kB / 282.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.01748, allocations: 59.91 kB / 282.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.01759, allocations: 162.5 kB / 282.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.01761, allocations: 33.7 kB / 282.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.01771, allocations: 221 kB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.01779, allocations: 170.5 kB / 283.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.01789, allocations: 82.11 kB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.01798, allocations: 334.8 kB / 283.5 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.01804, allocations: 52.98 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01815, allocations: 153.9 kB / 283.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01834, allocations: 237.9 kB / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01834, allocations: 4 kB / 283.9 MB, free: 6.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003239/0.01866, allocations: 303 kB / 284.2 MB, free: 5.926 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01868, allocations: 6.969 kB / 284.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.01869, allocations: 8.266 kB / 284.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.01892, allocations: 92.66 kB / 284.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.01911, allocations: 95.83 kB / 284.4 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/0.01997, allocations: 1.386 MB / 285.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.02009, allocations: 47.66 kB / 285.9 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.0201, allocations: 12 kB / 285.9 MB, free: 4.195 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.000102/0.02021, allocations: 141.8 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.02025, allocations: 35.91 kB / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.0206, allocations: 314.2 kB / 286.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0206, allocations: 4 kB / 286.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.02061, allocations: 4 kB / 286.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02061, allocations: 0 / 286.4 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.02124, allocations: 0.6158 MB / 287 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02124, allocations: 0 / 287 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.02141, allocations: 83.95 kB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.02158, allocations: 84.72 kB / 287.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.02161, allocations: 12 kB / 287.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000886/0.0225, allocations: 1.386 MB / 288.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0225, allocations: 0 / 288.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.02291, allocations: 465.6 kB / 289 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.02293, allocations: 27.73 kB / 289 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.02296, allocations: 12 kB / 289 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.02305, allocations: 15.98 kB / 289.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.02312, allocations: 40.38 kB / 289.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.02313, allocations: 11.98 kB / 289.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.02317, allocations: 46.23 kB / 289.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02317, allocations: 0 / 289.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.02349, allocations: 147.7 kB / 289.3 MB, free: 0.6094 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.0001584/0.02364, allocations: 120.4 kB / 289.4 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.02405, allocations: 397.6 kB / 289.8 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.02405, allocations: 4 kB / 289.8 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.08707/0.1111, allocations: 274 kB / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.1114, allocations: 32.12 kB / 290.1 MB, free: 25.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1124, allocations: 0.7234 MB / 290.8 MB, free: 25.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.859e-05/0.1125, allocations: 113.9 kB / 290.9 MB, free: 25.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1127, allocations: 48.98 kB / 291 MB, free: 25.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1128, allocations: 95.11 kB / 291.1 MB, free: 25.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.463e-06/0.1128, allocations: 3.094 kB / 291.1 MB, free: 25.5 MB / 266.7 MB Notification: Performance of Templates: time 0.007753/0.1205, allocations: 4.507 MB / 295.6 MB, free: 25.15 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6187801719643176]