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.0008157/0.0008157, allocations: 80 kB / 21.43 MB, free: 3.133 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.003224/0.003224, allocations: 139.5 kB / 24.68 MB, free: 8.883 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.829/0.829, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.593e-06/1.593e-06, allocations: 0 / 319.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.596e-05, allocations: 6.219 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003161/0.003187, allocations: 3.379 MB / 323.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004643, allocations: 1.339 MB / 324.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004772, allocations: 8 kB / 324.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.005665, allocations: 0.7377 MB / 325.2 MB, free: 396 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.00628, allocations: 0.5244 MB / 325.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.00671, allocations: 405.2 kB / 326.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.00704, allocations: 493.7 kB / 326.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.00751, allocations: 418.2 kB / 327 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.007774, allocations: 311.2 kB / 327.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.007949, allocations: 203.4 kB / 327.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.007992, allocations: 44 kB / 327.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.008218, allocations: 203.7 kB / 327.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.008274, allocations: 107.6 kB / 327.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.008375, allocations: 163.6 kB / 328 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.008894, allocations: 0.7125 MB / 328.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008896, allocations: 0 / 328.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.008897, allocations: 4 kB / 328.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.008903, allocations: 0 / 328.7 MB, free: 12.84 MB / 298.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.001166/0.01007, allocations: 0.8524 MB / 329.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.0101, allocations: 12.03 kB / 329.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.01168, allocations: 496.2 kB / 330 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.01197, allocations: 256.7 kB / 330.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.01199, allocations: 37.69 kB / 330.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.01205, allocations: 60.36 kB / 330.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.01262, allocations: 0.5437 MB / 330.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.01264, allocations: 4.172 kB / 330.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01267, allocations: 24.12 kB / 331 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01268, allocations: 12 kB / 331 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.01329, allocations: 0.5751 MB / 331.5 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.01487, allocations: 1.491 MB / 333 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.01567, allocations: 0.5386 MB / 333.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.01595, allocations: 226.2 kB / 333.8 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.01599, allocations: 24.48 kB / 333.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.01601, allocations: 31.06 kB / 333.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.01602, allocations: 4 kB / 333.8 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009926/0.01701, allocations: 0.6615 MB / 334.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.01704, allocations: 59.91 kB / 334.6 MB, free: 6.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.01715, allocations: 182.7 kB / 334.7 MB, free: 6.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.01717, allocations: 37.7 kB / 334.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.01725, allocations: 221 kB / 335 MB, free: 6.352 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.01733, allocations: 174.5 kB / 335.2 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.01741, allocations: 78.19 kB / 335.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.01749, allocations: 334.8 kB / 335.6 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.01767, allocations: 156.9 kB / 335.7 MB, free: 5.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.01788, allocations: 237.9 kB / 336 MB, free: 5.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.01828, allocations: 417.9 kB / 336.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01829, allocations: 0 / 336.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005787/0.01886, allocations: 0.5331 MB / 336.9 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01888, allocations: 8 kB / 336.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01889, allocations: 4.281 kB / 336.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.0191, allocations: 80.75 kB / 337 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.01929, allocations: 99.81 kB / 337.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.02036, allocations: 1.628 MB / 338.7 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.02049, allocations: 47.66 kB / 338.8 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.02051, allocations: 20 kB / 338.8 MB, free: 2.367 MB / 298.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.0001249/0.02063, allocations: 169.7 kB / 338.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.02066, allocations: 23.86 kB / 339 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.02129, allocations: 0.5363 MB / 339.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.0213, allocations: 7.984 kB / 339.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.02131, allocations: 8 kB / 339.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02131, allocations: 0 / 339.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.02225, allocations: 0.9775 MB / 340.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02225, allocations: 0 / 340.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.02242, allocations: 79.89 kB / 340.6 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/0.02256, allocations: 76.88 kB / 340.7 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.02258, allocations: 15.98 kB / 340.7 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/0.02356, allocations: 1.647 MB / 342.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02357, allocations: 0 / 342.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.02434, allocations: 0.7973 MB / 343.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.02436, allocations: 27.77 kB / 343.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.02439, allocations: 20.06 kB / 343.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02449, allocations: 19.98 kB / 343.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.02456, allocations: 40.42 kB / 343.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.02457, allocations: 15.94 kB / 343.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.02464, allocations: 119.2 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02464, allocations: 4 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.02495, allocations: 151.6 kB / 343.5 MB, free: 13.44 MB / 314.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.0001813/0.02513, allocations: 138.3 kB / 343.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.02576, allocations: 0.5475 MB / 344.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.02576, allocations: 4 kB / 344.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.02609, allocations: 350 kB / 344.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.02646, allocations: 28 kB / 344.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.02769, allocations: 0.808 MB / 345.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.02786, allocations: 208.7 kB / 345.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.02799, allocations: 40.48 kB / 345.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02799, allocations: 0 / 345.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Templates: time 0.006459/0.03445, allocations: 6.457 MB / 352.1 MB, free: 4.785 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.421388282440603]