Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.0008743/0.0008743, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009007/0.0009007, allocations: 167.1 kB / 25.7 MB, free: 8.402 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.6 MB, free: 2.773 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.423e-05, allocations: 14.25 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003393/0.003407, allocations: 3.681 MB / 255.3 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.00512, allocations: 1.472 MB / 256.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.00526, allocations: 8 kB / 256.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.006218, allocations: 0.793 MB / 257.5 MB, free: 1.238 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.006773, allocations: 413.7 kB / 257.9 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.007336, allocations: 0.5136 MB / 258.4 MB, free: 324 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.007698, allocations: 0.4939 MB / 258.9 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.008114, allocations: 387.9 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.008403, allocations: 319.2 kB / 259.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.008608, allocations: 215.4 kB / 259.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.008652, allocations: 40 kB / 259.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.008927, allocations: 215.6 kB / 260.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.008986, allocations: 119.5 kB / 260.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.009094, allocations: 167.6 kB / 260.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.009572, allocations: 0.5098 MB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.009573, allocations: 4 kB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.009574, allocations: 0 / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.009579, allocations: 0 / 260.9 MB, free: 13.86 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.001201/0.01078, allocations: 0.8743 MB / 261.8 MB, free: 12.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.01081, allocations: 11.98 kB / 261.8 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.01328, allocations: 0.8201 MB / 262.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.01352, allocations: 185.2 kB / 262.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01354, allocations: 37.69 kB / 262.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.0136, allocations: 64.31 kB / 262.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.01398, allocations: 405.3 kB / 263.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.014, allocations: 4.188 kB / 263.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.01403, allocations: 27.94 kB / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.01404, allocations: 19.98 kB / 263.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.01433, allocations: 262.2 kB / 263.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.01578, allocations: 1.256 MB / 264.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.01654, allocations: 0.5968 MB / 265.4 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.01663, allocations: 94.31 kB / 265.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.01668, allocations: 20.48 kB / 265.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.0167, allocations: 35.06 kB / 265.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.01671, allocations: 0 / 265.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.000671/0.01738, allocations: 434.5 kB / 266 MB, free: 8.598 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.0174, allocations: 63.89 kB / 266.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.0175, allocations: 170.5 kB / 266.2 MB, free: 8.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01752, allocations: 41.69 kB / 266.3 MB, free: 8.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.01762, allocations: 244.7 kB / 266.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.0177, allocations: 174.5 kB / 266.7 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.01779, allocations: 98.25 kB / 266.8 MB, free: 7.777 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.01788, allocations: 346.7 kB / 267.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.01794, allocations: 57.28 kB / 267.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01806, allocations: 178.7 kB / 267.3 MB, free: 7.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.01828, allocations: 293.7 kB / 267.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.01828, allocations: 0 / 267.6 MB, free: 6.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003392/0.01862, allocations: 339.1 kB / 268 MB, free: 6.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01863, allocations: 4 kB / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01864, allocations: 4 kB / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.01887, allocations: 92.91 kB / 268.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.01907, allocations: 111.8 kB / 268.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009616/0.02003, allocations: 1.59 MB / 269.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.02015, allocations: 55.61 kB / 269.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.02017, allocations: 16 kB / 269.8 MB, free: 4.535 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/0.02026, allocations: 141.7 kB / 270 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.02031, allocations: 39.91 kB / 270 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.02066, allocations: 323 kB / 270.3 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02067, allocations: 4 kB / 270.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.02067, allocations: 4 kB / 270.3 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.02067, allocations: 4 kB / 270.3 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.02128, allocations: 0.6261 MB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02128, allocations: 0 / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.02144, allocations: 79.89 kB / 271 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.02161, allocations: 84.73 kB / 271.1 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.02163, allocations: 12 kB / 271.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/0.02249, allocations: 1.591 MB / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0225, allocations: 0 / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.02289, allocations: 467.4 kB / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.02291, allocations: 35.75 kB / 273.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.02294, allocations: 11.94 kB / 273.2 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.02303, allocations: 16 kB / 273.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.02308, allocations: 36.42 kB / 273.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.0231, allocations: 8 kB / 273.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.02313, allocations: 49.86 kB / 273.3 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02313, allocations: 0 / 273.3 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000314/0.02345, allocations: 159.6 kB / 273.5 MB, free: 0.7148 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.0236, allocations: 116.3 kB / 273.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.024, allocations: 422 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.02401, allocations: 0 / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.02423, allocations: 291.8 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.02439, allocations: 31.98 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02541, allocations: 0.7706 MB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.02548, allocations: 114.6 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.0256, allocations: 50.95 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.02571, allocations: 95.36 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02571, allocations: 0 / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of Templates: time 0.006642/0.03236, allocations: 4.679 MB / 280 MB, free: 10.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.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.6157032041810453]