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.0009939/0.0009939, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002491, allocations: 445.7 kB / 10.37 MB, free: 328 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.001041/0.001041, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002406, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8497/0.8497, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1448/0.9945, allocations: 49.49 MB / 220.6 MB, free: 1.445 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.673e-06/1.673e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.561e-05, allocations: 2.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003724/0.00374, allocations: 3.685 MB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.005809, allocations: 1.48 MB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.005973, allocations: 11.94 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009565/0.00693, allocations: 0.8048 MB / 227.8 MB, free: 10.14 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.007587, allocations: 397.7 kB / 228.2 MB, free: 9.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006412/0.008228, allocations: 0.5369 MB / 228.7 MB, free: 9.215 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.008624, allocations: 0.5013 MB / 229.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.009072, allocations: 419 kB / 229.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.009406, allocations: 343.1 kB / 230 MB, free: 7.961 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.009615, allocations: 231.3 kB / 230.2 MB, free: 7.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.00966, allocations: 44 kB / 230.3 MB, free: 7.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.009965, allocations: 203.8 kB / 230.5 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.01002, allocations: 87.62 kB / 230.5 MB, free: 7.406 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.01012, allocations: 135.8 kB / 230.7 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.01059, allocations: 498.2 kB / 231.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.01061, allocations: 0 / 231.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01061, allocations: 0 / 231.2 MB, free: 6.785 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.01062, allocations: 0 / 231.2 MB, free: 6.785 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.001315/0.01194, allocations: 1.063 MB / 232.2 MB, free: 5.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.01196, allocations: 8.031 kB / 232.2 MB, free: 5.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.01403, allocations: 0.8162 MB / 233 MB, free: 4.855 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.01425, allocations: 189.2 kB / 233.2 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.01428, allocations: 37.69 kB / 233.3 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.01434, allocations: 60.38 kB / 233.3 MB, free: 4.551 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.01471, allocations: 421.3 kB / 233.7 MB, free: 4.121 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01472, allocations: 4.188 kB / 233.7 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.01475, allocations: 27.94 kB / 233.8 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01477, allocations: 12 kB / 233.8 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.01504, allocations: 258.2 kB / 234 MB, free: 3.824 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.01661, allocations: 1.298 MB / 235.3 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.01735, allocations: 0.5835 MB / 235.9 MB, free: 1.887 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.0175, allocations: 146.2 kB / 236.1 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.01755, allocations: 16.48 kB / 236.1 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.01757, allocations: 39.06 kB / 236.1 MB, free: 1.676 MB / 234.7 MB Notification: Performance of pre-optimization done (n=49): time 1.783e-06/0.01757, allocations: 0 / 236.1 MB, free: 1.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005619/0.01813, allocations: 378.6 kB / 236.5 MB, free: 1.297 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.01816, allocations: 59.91 kB / 236.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.01828, allocations: 183.3 kB / 236.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.0183, allocations: 37.7 kB / 236.8 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.0184, allocations: 240.8 kB / 237 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.01848, allocations: 178.4 kB / 237.2 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.01857, allocations: 102.2 kB / 237.3 MB, free: 484 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.01867, allocations: 338.7 kB / 237.6 MB, free: 136 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.01873, allocations: 61.28 kB / 237.7 MB, free: 76 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.01888, allocations: 180.7 kB / 237.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01911, allocations: 299.3 kB / 238.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01912, allocations: 4 kB / 238.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003552/0.01947, allocations: 343.3 kB / 238.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01948, allocations: 12 kB / 238.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01949, allocations: 7.984 kB / 238.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.0197, allocations: 76.8 kB / 238.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.01993, allocations: 127.8 kB / 238.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000879/0.02081, allocations: 1.374 MB / 240.1 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.02093, allocations: 51.56 kB / 240.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02095, allocations: 28.02 kB / 240.1 MB, free: 13.39 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.0001023/0.02105, allocations: 137.7 kB / 240.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.0211, allocations: 35.95 kB / 240.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.02146, allocations: 318.9 kB / 240.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.02147, allocations: 11.94 kB / 240.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.02147, allocations: 0 / 240.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02147, allocations: 7.922 kB / 240.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.02208, allocations: 0.6391 MB / 241.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.02208, allocations: 8.047 kB / 241.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.02225, allocations: 83.91 kB / 241.4 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.02228, allocations: 39.7 kB / 241.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.02245, allocations: 88.94 kB / 241.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.02246, allocations: 12 kB / 241.5 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007437/0.02321, allocations: 1.358 MB / 242.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02321, allocations: 0 / 242.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.0236, allocations: 477.5 kB / 243.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.02363, allocations: 12 kB / 243.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.02372, allocations: 19.98 kB / 243.4 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.02378, allocations: 32.44 kB / 243.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.0238, allocations: 15.98 kB / 243.4 MB, free: 9.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.912e-05/0.02384, allocations: 45.06 kB / 243.4 MB, free: 9.906 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02384, allocations: 32 / 243.4 MB, free: 9.906 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.02416, allocations: 159.7 kB / 243.6 MB, free: 9.75 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.0001888/0.02435, allocations: 120.2 kB / 243.7 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.02475, allocations: 414.7 kB / 244.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.02477, allocations: 4 kB / 244.1 MB, free: 9.203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.02497, allocations: 303.1 kB / 244.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.02518, allocations: 63.92 kB / 244.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.02918, allocations: 0.8073 MB / 245.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.02925, allocations: 114.6 kB / 245.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.02938, allocations: 54.94 kB / 245.5 MB, free: 7.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.02949, allocations: 99.36 kB / 245.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0295, allocations: 0 / 245.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of Templates: time 0.007345/0.03684, allocations: 4.733 MB / 250.3 MB, free: 2.996 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6522597102448344]