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.0008953/0.0008953, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.000858/0.000858, allocations: 138.7 kB / 24.97 MB, free: 8.359 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.9151/0.9151, allocations: 173.4 MB / 201.5 MB, free: 9.332 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.373e-06/1.373e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.275e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003592/0.003615, allocations: 3.647 MB / 271.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.005388, allocations: 1.378 MB / 273.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.005547, allocations: 12 kB / 273.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.00658, allocations: 0.7932 MB / 273.9 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.007314, allocations: 0.5245 MB / 274.4 MB, free: 352 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.007829, allocations: 417.4 kB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.008233, allocations: 481.7 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000517/0.00875, allocations: 410.2 kB / 275.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.009074, allocations: 319.2 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.009278, allocations: 207.4 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.009325, allocations: 48 kB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.009625, allocations: 191.7 kB / 276.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.009682, allocations: 115.6 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.009791, allocations: 163.6 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.0103, allocations: 0.5136 MB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01031, allocations: 0 / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01031, allocations: 0 / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.01031, allocations: 0 / 277.2 MB, free: 13.52 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.001606/0.01192, allocations: 0.9446 MB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01195, allocations: 12.03 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.0141, allocations: 0.6054 MB / 278.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.01442, allocations: 256 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.01445, allocations: 37.69 kB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.01453, allocations: 64.33 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.01509, allocations: 421.4 kB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.01511, allocations: 4.188 kB / 279.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.01515, allocations: 28.12 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01516, allocations: 12 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.01563, allocations: 335.5 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.01739, allocations: 1.482 MB / 281.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.01824, allocations: 0.583 MB / 282 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.01848, allocations: 169 kB / 282.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.01853, allocations: 20.48 kB / 282.2 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.01856, allocations: 37.89 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.755e-06/0.01856, allocations: 0 / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008875/0.01945, allocations: 0.5042 MB / 282.7 MB, free: 7.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.01948, allocations: 55.91 kB / 282.8 MB, free: 7.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01961, allocations: 225.7 kB / 283 MB, free: 7.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01963, allocations: 37.7 kB / 283 MB, free: 7.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01973, allocations: 275.7 kB / 283.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.01982, allocations: 166.5 kB / 283.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.01991, allocations: 91.84 kB / 283.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.02003, allocations: 0.504 MB / 284.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.02015, allocations: 80.95 kB / 284.1 MB, free: 6.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.02032, allocations: 202.3 kB / 284.3 MB, free: 6.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.02063, allocations: 318.2 kB / 284.7 MB, free: 5.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.02063, allocations: 4 kB / 284.7 MB, free: 5.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005135/0.02115, allocations: 428.7 kB / 285.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.02117, allocations: 10.81 kB / 285.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.02117, allocations: 0 / 285.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.0217, allocations: 103.8 kB / 285.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.0219, allocations: 91.89 kB / 285.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.02304, allocations: 1.995 MB / 287.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.02316, allocations: 51.66 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.02318, allocations: 16 kB / 287.3 MB, free: 2.965 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.0001157/0.0233, allocations: 184.5 kB / 287.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.02335, allocations: 35.86 kB / 287.6 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.02388, allocations: 428 kB / 288 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02389, allocations: 8 kB / 288 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.02389, allocations: 0 / 288 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0239, allocations: 7.984 kB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/0.02477, allocations: 0.9184 MB / 288.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02478, allocations: 4 kB / 288.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.02495, allocations: 79.89 kB / 289 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.02515, allocations: 83.67 kB / 289.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.02517, allocations: 12 kB / 289.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09417/0.1193, allocations: 1.993 MB / 291.1 MB, free: 30.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1193, allocations: 2.375 kB / 291.1 MB, free: 30.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.1201, allocations: 0.6313 MB / 291.7 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1202, allocations: 36.64 kB / 291.7 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.1202, allocations: 15.28 kB / 291.8 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1203, allocations: 14.8 kB / 291.8 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.1204, allocations: 39.83 kB / 291.8 MB, free: 30.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1204, allocations: 12.98 kB / 291.8 MB, free: 30.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1205, allocations: 161.5 kB / 292 MB, free: 30 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1205, allocations: 0 / 292 MB, free: 30 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.1209, allocations: 148.1 kB / 292.1 MB, free: 30 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.0001928/0.1211, allocations: 147.6 kB / 292.3 MB, free: 29.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.1217, allocations: 0.4969 MB / 292.8 MB, free: 29.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1217, allocations: 0 / 292.8 MB, free: 29.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.122, allocations: 384.5 kB / 293.1 MB, free: 29.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1222, allocations: 29.36 kB / 293.2 MB, free: 29.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1234, allocations: 0.7534 MB / 293.9 MB, free: 29.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.718e-05/0.1235, allocations: 113.5 kB / 294 MB, free: 29.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1236, allocations: 47.97 kB / 294.1 MB, free: 29.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.1237, allocations: 32.59 kB / 294.1 MB, free: 29.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1237, allocations: 4.969 kB / 294.1 MB, free: 29.09 MB / 266.7 MB Notification: Performance of Templates: time 0.006742/0.1304, allocations: 4.214 MB / 298.3 MB, free: 28.68 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.8959363880567253]