Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.000865/0.000865, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002485, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001086/0.001086, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002458, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.873/0.873, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1801/1.053, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.225e-05, allocations: 5.406 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004427/0.004449, allocations: 3.697 MB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.006506, allocations: 1.48 MB / 227.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.006684, allocations: 8 kB / 227.2 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008946/0.007578, allocations: 0.8008 MB / 228 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.008225, allocations: 401.7 kB / 228.4 MB, free: 9.645 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.008888, allocations: 0.5291 MB / 228.9 MB, free: 9.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.009399, allocations: 0.513 MB / 229.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.009918, allocations: 415 kB / 229.8 MB, free: 8.188 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.01033, allocations: 339.1 kB / 230.1 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.01059, allocations: 227.4 kB / 230.4 MB, free: 7.633 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.01064, allocations: 44 kB / 230.4 MB, free: 7.59 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.01107, allocations: 215.6 kB / 230.6 MB, free: 7.379 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.01113, allocations: 79.75 kB / 230.7 MB, free: 7.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.01125, allocations: 139.7 kB / 230.8 MB, free: 7.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.01173, allocations: 486.2 kB / 231.3 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.01175, allocations: 4 kB / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01175, allocations: 0 / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.01176, allocations: 0 / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001412/0.01317, allocations: 1.063 MB / 232.4 MB, free: 5.578 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.0132, allocations: 8.031 kB / 232.4 MB, free: 5.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.01559, allocations: 0.8201 MB / 233.2 MB, free: 4.75 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.01585, allocations: 181.7 kB / 233.4 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.01589, allocations: 45.62 kB / 233.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.01595, allocations: 56.38 kB / 233.5 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.01636, allocations: 421.3 kB / 233.9 MB, free: 4.02 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01638, allocations: 8.172 kB / 233.9 MB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.01641, allocations: 23.94 kB / 233.9 MB, free: 3.988 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01642, allocations: 12 kB / 233.9 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.01672, allocations: 266.2 kB / 234.2 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.01832, allocations: 1.291 MB / 235.5 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.01908, allocations: 0.5874 MB / 236.1 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.01925, allocations: 138.2 kB / 236.2 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.01931, allocations: 20.48 kB / 236.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.01933, allocations: 43 kB / 236.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.01934, allocations: 0 / 236.3 MB, free: 1.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006016/0.01994, allocations: 378.6 kB / 236.6 MB, free: 1.191 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.01997, allocations: 55.91 kB / 236.7 MB, free: 1.125 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.02008, allocations: 186.5 kB / 236.9 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.02011, allocations: 33.7 kB / 236.9 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.02021, allocations: 248.8 kB / 237.1 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.0203, allocations: 178.4 kB / 237.3 MB, free: 480 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.0204, allocations: 90.27 kB / 237.4 MB, free: 384 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.02051, allocations: 346.7 kB / 237.7 MB, free: 28 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.02059, allocations: 57.28 kB / 237.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.02073, allocations: 188.6 kB / 238 MB, free: 15.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.02098, allocations: 310.9 kB / 238.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02098, allocations: 0 / 238.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004021/0.02139, allocations: 342.9 kB / 238.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02141, allocations: 8.469 kB / 238.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.02142, allocations: 15.92 kB / 238.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.02169, allocations: 76.78 kB / 238.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.02192, allocations: 127.8 kB / 238.8 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.02296, allocations: 1.37 MB / 240.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.0231, allocations: 59.55 kB / 240.3 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.02313, allocations: 20 kB / 240.3 MB, free: 13.28 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0001101/0.02324, allocations: 145.7 kB / 240.4 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.02328, allocations: 31.97 kB / 240.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.02365, allocations: 326.9 kB / 240.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02365, allocations: 8 kB / 240.8 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.02365, allocations: 0 / 240.8 MB, free: 12.76 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.02366, allocations: 3.984 kB / 240.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007401/0.0244, allocations: 0.6352 MB / 241.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0244, allocations: 0 / 241.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.02458, allocations: 95.95 kB / 241.5 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.0246, allocations: 31.72 kB / 241.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.02479, allocations: 92.94 kB / 241.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.02481, allocations: 12 kB / 241.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.02583, allocations: 1.366 MB / 243 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.02583, allocations: 0 / 243 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.02627, allocations: 473.6 kB / 243.5 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.02629, allocations: 8 kB / 243.5 MB, free: 9.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.02638, allocations: 15.98 kB / 243.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.02644, allocations: 44.42 kB / 243.6 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.02646, allocations: 8 kB / 243.6 MB, free: 9.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.78e-05/0.0265, allocations: 40.81 kB / 243.6 MB, free: 9.793 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0265, allocations: 0 / 243.6 MB, free: 9.793 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.02679, allocations: 159.7 kB / 243.8 MB, free: 9.637 MB / 250.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 (46): * Single equations (assignments): 45 * 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.0001853/0.02697, allocations: 124.2 kB / 243.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.02742, allocations: 423.5 kB / 244.3 MB, free: 9.082 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.02743, allocations: 4 kB / 244.3 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.02768, allocations: 332.3 kB / 244.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.02797, allocations: 186.7 kB / 244.8 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.03211, allocations: 0.8027 MB / 245.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.0322, allocations: 114.6 kB / 245.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.03231, allocations: 54.94 kB / 245.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.03243, allocations: 99.36 kB / 245.9 MB, free: 7.418 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.03243, allocations: 4 kB / 245.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of Templates: time 0.007357/0.03979, allocations: 4.702 MB / 250.6 MB, free: 2.734 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7269242024049163]