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.0009873/0.0009873, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001052/0.001052, allocations: 169.2 kB / 25.33 MB, free: 9.02 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.8883/0.8883, allocations: 158.6 MB / 187.2 MB, free: 2.938 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.684e-06/1.684e-06, allocations: 3.938 kB / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.366e-05, allocations: 6.25 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003726/0.003749, allocations: 3.712 MB / 254.7 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.005842, allocations: 1.434 MB / 256.2 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.006032, allocations: 8 kB / 256.2 MB, free: 2.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.007421, allocations: 0.8009 MB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.008101, allocations: 401.8 kB / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.00873, allocations: 0.5331 MB / 257.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.009115, allocations: 0.4976 MB / 258.4 MB, free: 108 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.009627, allocations: 434 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.009924, allocations: 327.2 kB / 259.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.01014, allocations: 227.4 kB / 259.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.01019, allocations: 48 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.01045, allocations: 195.7 kB / 259.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.01051, allocations: 119.6 kB / 259.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.01063, allocations: 179.5 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.01115, allocations: 0.5175 MB / 260.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01116, allocations: 0 / 260.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01116, allocations: 4 kB / 260.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.01116, allocations: 0 / 260.4 MB, free: 14.08 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.001315/0.01248, allocations: 0.9796 MB / 261.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01252, allocations: 15.98 kB / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.01471, allocations: 0.738 MB / 262.2 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.015, allocations: 259.9 kB / 262.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.01504, allocations: 41.69 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.01511, allocations: 60.38 kB / 262.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.01565, allocations: 461.4 kB / 263 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.01567, allocations: 192 / 263 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.01571, allocations: 27.92 kB / 263 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01572, allocations: 16 kB / 263 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.01623, allocations: 375.6 kB / 263.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.01836, allocations: 1.576 MB / 265 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.01938, allocations: 0.6819 MB / 265.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.01963, allocations: 177.1 kB / 265.8 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.01967, allocations: 16.5 kB / 265.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.0197, allocations: 37.89 kB / 265.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.094e-06/0.01971, allocations: 0 / 265.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008779/0.02058, allocations: 0.5042 MB / 266.4 MB, free: 7.984 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.02061, allocations: 63.91 kB / 266.4 MB, free: 7.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.02076, allocations: 241.7 kB / 266.7 MB, free: 7.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.02078, allocations: 33.7 kB / 266.7 MB, free: 7.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.02089, allocations: 291.5 kB / 267 MB, free: 7.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.02098, allocations: 174.5 kB / 267.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.02108, allocations: 107.9 kB / 267.3 MB, free: 7.035 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.0212, allocations: 0.5117 MB / 267.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.02133, allocations: 89.25 kB / 267.9 MB, free: 6.422 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.02153, allocations: 265.9 kB / 268.1 MB, free: 6.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.02189, allocations: 388.8 kB / 268.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.02189, allocations: 4 kB / 268.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005666/0.02246, allocations: 485 kB / 269 MB, free: 5.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.02248, allocations: 8 kB / 269 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.02248, allocations: 4 kB / 269 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.02279, allocations: 87.62 kB / 269.1 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.02302, allocations: 111.8 kB / 269.2 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.02436, allocations: 1.998 MB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.02449, allocations: 59.64 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.02451, allocations: 24 kB / 271.3 MB, free: 2.75 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.0001129/0.02463, allocations: 180.5 kB / 271.4 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.02468, allocations: 43.86 kB / 271.5 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.02523, allocations: 436.7 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02524, allocations: 4 kB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02524, allocations: 7.938 kB / 271.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.02525, allocations: 7.922 kB / 271.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.02624, allocations: 0.9421 MB / 272.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.02624, allocations: 4 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.02641, allocations: 75.91 kB / 272.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.02662, allocations: 95.66 kB / 273 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.02664, allocations: 11.94 kB / 273 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.02766, allocations: 1.998 MB / 275 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02766, allocations: 8.016 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.02829, allocations: 0.6458 MB / 275.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.02832, allocations: 35.67 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.02835, allocations: 12 kB / 275.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.02846, allocations: 16 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.02852, allocations: 40.36 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.02854, allocations: 16 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.02862, allocations: 180.2 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02862, allocations: 0 / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.02898, allocations: 155.7 kB / 276.1 MB, free: 13.63 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.0002076/0.02919, allocations: 135.2 kB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.02979, allocations: 0.5319 MB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0298, allocations: 0 / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.0301, allocations: 381.3 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.03034, allocations: 31.98 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.0316, allocations: 0.8069 MB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.03197, allocations: 114.6 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.03208, allocations: 50.95 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.03216, allocations: 44.42 kB / 278.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03216, allocations: 0 / 278.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of Templates: time 0.006544/0.0387, allocations: 4.323 MB / 282.5 MB, free: 7.141 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.9326601000502706]