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.001282/0.001282, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008835/0.0008835, allocations: 145.2 kB / 24.89 MB, free: 9.215 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.8706/0.8706, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.462e-06/1.462e-06, allocations: 0 / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.35e-05, allocations: 6.312 kB / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003172/0.003185, allocations: 3.588 MB / 272.1 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004904, allocations: 1.424 MB / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.005043, allocations: 8 kB / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009493/0.005992, allocations: 0.8009 MB / 274.3 MB, free: 356 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.006733, allocations: 0.5322 MB / 274.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.007215, allocations: 413.2 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.007567, allocations: 477.7 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.008023, allocations: 442.9 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.00832, allocations: 307.3 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.008516, allocations: 211.4 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.008559, allocations: 44 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.008825, allocations: 211.6 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.008882, allocations: 111.6 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.008983, allocations: 159.6 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.009436, allocations: 0.5059 MB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.009438, allocations: 0 / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.009439, allocations: 4 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.009443, allocations: 0 / 277.7 MB, free: 12.96 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.001122/0.01057, allocations: 0.8588 MB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.01059, allocations: 8.031 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.01236, allocations: 0.6719 MB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.01258, allocations: 189.1 kB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.01261, allocations: 41.69 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.01266, allocations: 56.38 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.01308, allocations: 385.4 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.01309, allocations: 8.172 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.01312, allocations: 24.12 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.01313, allocations: 12 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.01339, allocations: 234.3 kB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.01477, allocations: 1.209 MB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006293/0.0154, allocations: 489.6 kB / 281.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.01555, allocations: 138.2 kB / 282 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.01561, allocations: 28.42 kB / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01563, allocations: 43.06 kB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.01563, allocations: 0 / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006018/0.01623, allocations: 378.6 kB / 282.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.01626, allocations: 55.91 kB / 282.4 MB, free: 8.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.01635, allocations: 166.5 kB / 282.6 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.01637, allocations: 29.7 kB / 282.6 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.01644, allocations: 229 kB / 282.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.01652, allocations: 170.5 kB / 283 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.0166, allocations: 86.11 kB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.01667, allocations: 334.8 kB / 283.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.01673, allocations: 48.98 kB / 283.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.01682, allocations: 138 kB / 283.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01702, allocations: 257.8 kB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01702, allocations: 0 / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003031/0.01732, allocations: 303.3 kB / 284.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.01733, allocations: 4 kB / 284.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01734, allocations: 4 kB / 284.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.01755, allocations: 92.7 kB / 284.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01773, allocations: 91.83 kB / 284.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007997/0.01853, allocations: 1.366 MB / 285.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01864, allocations: 51.69 kB / 285.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01866, allocations: 16 kB / 285.8 MB, free: 4.469 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 9.389e-05/0.01875, allocations: 129.7 kB / 285.9 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.01879, allocations: 39.91 kB / 286 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.01914, allocations: 318.3 kB / 286.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01914, allocations: 4 kB / 286.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01914, allocations: 4 kB / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01915, allocations: 0 / 286.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.01974, allocations: 0.6234 MB / 286.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.01974, allocations: 8 kB / 286.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.0199, allocations: 79.83 kB / 287 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.02006, allocations: 80.84 kB / 287.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.02008, allocations: 8 kB / 287.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006977/0.02078, allocations: 1.374 MB / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02078, allocations: 4.031 kB / 288.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.02117, allocations: 465.5 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.0212, allocations: 35.72 kB / 288.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.02121, allocations: 4 kB / 288.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.02131, allocations: 16 kB / 289 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.02136, allocations: 36.42 kB / 289 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.02137, allocations: 12 kB / 289 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.0214, allocations: 54.19 kB / 289.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0214, allocations: 0 / 289.1 MB, free: 1.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.02168, allocations: 151.7 kB / 289.2 MB, free: 0.8828 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.000142/0.02183, allocations: 116.3 kB / 289.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.0222, allocations: 386.1 kB / 289.7 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.0222, allocations: 0 / 289.7 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.0224, allocations: 291.2 kB / 290 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.02256, allocations: 31.98 kB / 290 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08172/0.1043, allocations: 0.7302 MB / 290.7 MB, free: 26.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.1044, allocations: 110.8 kB / 290.8 MB, free: 25.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1045, allocations: 48.78 kB / 290.9 MB, free: 25.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1046, allocations: 95.08 kB / 291 MB, free: 25.91 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1046, allocations: 0 / 291 MB, free: 25.91 MB / 266.7 MB Notification: Performance of Templates: time 0.006627/0.1112, allocations: 4.517 MB / 295.5 MB, free: 25.55 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 -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.5603426140733063]