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.001931/0.001931, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001969/0.001969, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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 1.533/1.533, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] 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 2.655e-06/2.655e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.147e-05/5.412e-05, allocations: 9.766 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.01128/0.01133, allocations: 3.616 MB / 270.9 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.01674, allocations: 1.378 MB / 272.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.01728, allocations: 8 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.02101, allocations: 0.7933 MB / 273.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.02408, allocations: 0.5283 MB / 273.6 MB, free: 392 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.02592, allocations: 413.3 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.02715, allocations: 489.6 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.02855, allocations: 410.2 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.02955, allocations: 307.3 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.03024, allocations: 211.4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.0304, allocations: 44 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008726/0.03127, allocations: 207.6 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.0315, allocations: 107.6 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.03197, allocations: 163.6 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.03397, allocations: 0.7125 MB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.03398, allocations: 3.984 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.03398, allocations: 4 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.034, allocations: 0 / 276.7 MB, free: 13.35 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.004152/0.03815, allocations: 0.9794 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.0382, allocations: 12.02 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/0.04553, allocations: 0.6053 MB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.04626, allocations: 247.9 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.04634, allocations: 45.69 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.04651, allocations: 56.33 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.0483, allocations: 0.528 MB / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.04833, allocations: 192 / 279.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.04843, allocations: 24.12 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.04845, allocations: 12 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.05058, allocations: 0.5517 MB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006238/0.05682, allocations: 1.707 MB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.05974, allocations: 0.543 MB / 282 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.06066, allocations: 237 kB / 282.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.06078, allocations: 16.48 kB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/0.06084, allocations: 45.83 kB / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.06085, allocations: 0 / 282.3 MB, free: 7.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.003305/0.06415, allocations: 0.6526 MB / 282.9 MB, free: 6.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.06423, allocations: 55.91 kB / 283 MB, free: 6.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.06466, allocations: 249.8 kB / 283.2 MB, free: 6.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/0.06473, allocations: 33.7 kB / 283.2 MB, free: 6.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.06506, allocations: 275.7 kB / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.06535, allocations: 178.5 kB / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.06565, allocations: 99.84 kB / 283.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004669/0.06612, allocations: 0.5157 MB / 284.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.0667, allocations: 140.9 kB / 284.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008103/0.06752, allocations: 270.2 kB / 284.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.06898, allocations: 446.2 kB / 285.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.06899, allocations: 4 kB / 285.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002135/0.07113, allocations: 0.5362 MB / 285.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.07116, allocations: 8 kB / 285.7 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.07118, allocations: 7.984 kB / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.07207, allocations: 107.5 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.07283, allocations: 91.89 kB / 285.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.07691, allocations: 2.178 MB / 288.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.07734, allocations: 43.77 kB / 288.1 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.07739, allocations: 16 kB / 288.1 MB, free: 1.43 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.0003743/0.07777, allocations: 220.3 kB / 288.3 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.07793, allocations: 43.84 kB / 288.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.07974, allocations: 0.5079 MB / 288.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.07975, allocations: 4 kB / 288.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.07976, allocations: 4 kB / 288.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.07978, allocations: 7.969 kB / 288.9 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1215/0.2013, allocations: 1.102 MB / 290 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2013, allocations: 1.375 kB / 290 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.2016, allocations: 79.19 kB / 290.1 MB, free: 31.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/0.2021, allocations: 99.95 kB / 290.2 MB, free: 31.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.2022, allocations: 13.53 kB / 290.2 MB, free: 31.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.2038, allocations: 2.172 MB / 292.4 MB, free: 29.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2038, allocations: 4.031 kB / 292.4 MB, free: 29.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.2051, allocations: 0.8354 MB / 293.2 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.2052, allocations: 32.78 kB / 293.2 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.2052, allocations: 13.28 kB / 293.3 MB, free: 29.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.2054, allocations: 19.62 kB / 293.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2056, allocations: 42.84 kB / 293.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.2056, allocations: 15.83 kB / 293.3 MB, free: 29.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2057, allocations: 171.6 kB / 293.5 MB, free: 29.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2057, allocations: 3.406 kB / 293.5 MB, free: 29.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005774/0.2063, allocations: 148.2 kB / 293.6 MB, free: 29.32 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.0002619/0.2065, allocations: 136.5 kB / 293.8 MB, free: 29.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2077, allocations: 0.6134 MB / 294.4 MB, free: 28.96 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2077, allocations: 1.125 kB / 294.4 MB, free: 28.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.2082, allocations: 436.7 kB / 294.8 MB, free: 28.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2086, allocations: 30.39 kB / 294.9 MB, free: 28.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2099, allocations: 0.803 MB / 295.7 MB, free: 28.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.2101, allocations: 206.4 kB / 295.9 MB, free: 28.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.2103, allocations: 46.06 kB / 295.9 MB, free: 28.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.2104, allocations: 30.52 kB / 295.9 MB, free: 28.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2104, allocations: 1.312 kB / 295.9 MB, free: 28.12 MB / 266.7 MB Notification: Performance of Templates: time 0.009772/0.2201, allocations: 4.223 MB / 300.2 MB, free: 27.61 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","/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.6971100739901885]