Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0009923/0.0009923, allocations: 87.89 kB / 21.19 MB, free: 3.379 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.001007/0.001007, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 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.9829/0.9829, allocations: 173.3 MB / 201.1 MB, free: 9.301 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.279e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003658/0.003681, allocations: 3.662 MB / 271.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.005311, allocations: 1.386 MB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.005444, allocations: 8 kB / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.006468, allocations: 0.801 MB / 273.8 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.007192, allocations: 0.5246 MB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.007654, allocations: 417.4 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.008049, allocations: 481.7 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.008454, allocations: 350 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.008723, allocations: 299.3 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.008917, allocations: 203.5 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.008959, allocations: 40 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.009202, allocations: 199.7 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.009257, allocations: 111.6 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.009358, allocations: 155.6 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.009973, allocations: 0.4982 MB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.009976, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009976, allocations: 0 / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.009982, allocations: 0 / 277.1 MB, free: 13.28 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.001164/0.01115, allocations: 0.9446 MB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.01118, allocations: 8.031 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.01294, allocations: 0.6092 MB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.01319, allocations: 255.9 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.01322, allocations: 37.69 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.01328, allocations: 56.33 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.01375, allocations: 421.4 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01377, allocations: 4.188 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.0138, allocations: 24.12 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01381, allocations: 12 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.01423, allocations: 331.6 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.01599, allocations: 1.504 MB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.01698, allocations: 0.5885 MB / 281.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.01713, allocations: 132 kB / 282 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.01717, allocations: 24.48 kB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.01719, allocations: 33.89 kB / 282 MB, free: 8.145 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.363e-06/0.0172, allocations: 0 / 282 MB, free: 8.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008946/0.01809, allocations: 0.551 MB / 282.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.01811, allocations: 55.91 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.01823, allocations: 221.8 kB / 282.9 MB, free: 7.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01825, allocations: 41.64 kB / 282.9 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.01834, allocations: 275.6 kB / 283.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.01842, allocations: 166.6 kB / 283.3 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.01851, allocations: 91.83 kB / 283.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01863, allocations: 0.5079 MB / 283.9 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01875, allocations: 80.95 kB / 284 MB, free: 6.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.01891, allocations: 186.9 kB / 284.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.01921, allocations: 315.3 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.01921, allocations: 0 / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005151/0.01973, allocations: 432.7 kB / 284.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01975, allocations: 8 kB / 284.9 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01975, allocations: 224 / 284.9 MB, free: 5.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.02006, allocations: 95.62 kB / 285 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.02025, allocations: 91.83 kB / 285.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.02167, allocations: 2.313 MB / 287.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.02178, allocations: 47.67 kB / 287.5 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.0218, allocations: 20 kB / 287.5 MB, free: 2.414 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 0.0001058/0.02191, allocations: 184.5 kB / 287.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.02196, allocations: 43.78 kB / 287.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.02246, allocations: 432 kB / 288.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.02246, allocations: 4 kB / 288.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.02247, allocations: 4 kB / 288.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02247, allocations: 3.984 kB / 288.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.02331, allocations: 0.8845 MB / 289 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02331, allocations: 4 kB / 289 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.02348, allocations: 75.89 kB / 289.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.02369, allocations: 99.69 kB / 289.2 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.02371, allocations: 12 kB / 289.2 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1302/0.154, allocations: 2.309 MB / 291.5 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.154, allocations: 2.25 kB / 291.5 MB, free: 23.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.1547, allocations: 0.6218 MB / 292.1 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1548, allocations: 37.69 kB / 292.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1548, allocations: 9.656 kB / 292.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1549, allocations: 20.28 kB / 292.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.155, allocations: 36.27 kB / 292.2 MB, free: 23.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.155, allocations: 14.44 kB / 292.3 MB, free: 23.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.1551, allocations: 160.7 kB / 292.4 MB, free: 23.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1551, allocations: 0 / 292.4 MB, free: 23.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004322/0.1555, allocations: 150.4 kB / 292.6 MB, free: 23.34 MB / 266.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 (42): * Single equations (assignments): 41 * 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.0002003/0.1557, allocations: 139.8 kB / 292.7 MB, free: 23.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000625/0.1563, allocations: 0.5039 MB / 293.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1563, allocations: 4.094 kB / 293.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.1566, allocations: 381 kB / 293.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1569, allocations: 30.3 kB / 293.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.158, allocations: 0.7303 MB / 294.3 MB, free: 22.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.143e-05/0.1581, allocations: 110.5 kB / 294.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1582, allocations: 49.94 kB / 294.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.1582, allocations: 32.27 kB / 294.5 MB, free: 22.44 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1582, allocations: 0 / 294.5 MB, free: 22.44 MB / 266.7 MB Notification: Performance of Templates: time 0.007051/0.1653, allocations: 4.253 MB / 298.8 MB, free: 22 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/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.973940277006477]