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.001076/0.001076, allocations: 85.95 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001209/0.001209, allocations: 163.7 kB / 25.6 MB, free: 8.441 MB / 18.57 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.9107/0.9107, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.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.212e-06/1.212e-06, allocations: 3.938 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.835e-05, allocations: 6.25 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003217/0.003236, allocations: 3.634 MB / 255.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005023, allocations: 1.418 MB / 256.5 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.005185, allocations: 8 kB / 256.5 MB, free: 2.141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.006129, allocations: 0.7736 MB / 257.3 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.006802, allocations: 405.8 kB / 257.7 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.007383, allocations: 0.5291 MB / 258.2 MB, free: 440 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.007799, allocations: 0.4978 MB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.008284, allocations: 434 kB / 259.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.008611, allocations: 327.3 kB / 259.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.008833, allocations: 219.4 kB / 259.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.00888, allocations: 44 kB / 259.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.009213, allocations: 207.6 kB / 259.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.009276, allocations: 123.6 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.009379, allocations: 163.5 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.009901, allocations: 0.5215 MB / 260.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.009904, allocations: 11.92 kB / 260.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009905, allocations: 0 / 260.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.009909, allocations: 0 / 260.7 MB, free: 13.9 MB / 250.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.001249/0.01116, allocations: 0.9834 MB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01119, allocations: 15.97 kB / 261.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.01335, allocations: 0.7302 MB / 262.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.01364, allocations: 256 kB / 262.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.01367, allocations: 45.69 kB / 262.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.01373, allocations: 56.36 kB / 262.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.01415, allocations: 417.3 kB / 263.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01417, allocations: 192 / 263.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.0142, allocations: 23.94 kB / 263.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01422, allocations: 16 kB / 263.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.01455, allocations: 314.1 kB / 263.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.01631, allocations: 1.583 MB / 265.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.01713, allocations: 0.6349 MB / 265.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.01732, allocations: 157.1 kB / 265.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.01737, allocations: 32.45 kB / 266 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.01739, allocations: 37.89 kB / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.0174, allocations: 0 / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006959/0.01809, allocations: 464.3 kB / 266.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.01812, allocations: 59.91 kB / 266.5 MB, free: 7.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01824, allocations: 237.7 kB / 266.8 MB, free: 7.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.01826, allocations: 37.7 kB / 266.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01837, allocations: 295.5 kB / 267.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.01845, allocations: 182.4 kB / 267.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.01857, allocations: 107.9 kB / 267.4 MB, free: 7.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01869, allocations: 0.5078 MB / 267.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.01877, allocations: 69.25 kB / 267.9 MB, free: 6.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.01892, allocations: 245.9 kB / 268.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.01918, allocations: 352.7 kB / 268.5 MB, free: 5.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01918, allocations: 4 kB / 268.5 MB, free: 5.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004607/0.01964, allocations: 441 kB / 269 MB, free: 5.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01965, allocations: 4 kB / 269 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01966, allocations: 4 kB / 269 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.01989, allocations: 91.61 kB / 269.1 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.0201, allocations: 115.8 kB / 269.2 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.02113, allocations: 1.952 MB / 271.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.02127, allocations: 55.66 kB / 271.2 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.0213, allocations: 19.98 kB / 271.2 MB, free: 2.953 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.0001155/0.02141, allocations: 188.4 kB / 271.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.02147, allocations: 39.86 kB / 271.4 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.0219, allocations: 396.8 kB / 271.8 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.0219, allocations: 8 kB / 271.8 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.0219, allocations: 0 / 271.8 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02191, allocations: 7.922 kB / 271.8 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.02269, allocations: 0.8488 MB / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02269, allocations: 0 / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.02286, allocations: 75.91 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/0.02305, allocations: 95.83 kB / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.02307, allocations: 11.98 kB / 272.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009515/0.02402, allocations: 1.96 MB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02402, allocations: 4.031 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.02453, allocations: 0.5949 MB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.02456, allocations: 39.67 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.02458, allocations: 12 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.02469, allocations: 16 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.02474, allocations: 36.42 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.02476, allocations: 12 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.02482, allocations: 168.2 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02482, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005353/0.02536, allocations: 155.7 kB / 275.8 MB, free: 14.1 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 (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.000206/0.02557, allocations: 139.1 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005715/0.02614, allocations: 0.4927 MB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02614, allocations: 8.125 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.0264, allocations: 361.1 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.02665, allocations: 35.92 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.02781, allocations: 0.7836 MB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.827e-05/0.02788, allocations: 118.6 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.028, allocations: 46.95 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.02813, allocations: 126.2 kB / 277.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02813, allocations: 7.938 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Templates: time 0.006518/0.03465, allocations: 4.732 MB / 282.7 MB, free: 7.18 MB / 266.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 -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.7521181628108025]