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.0009777/0.0009777, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001168/0.001168, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9216/0.9216, allocations: 158.6 MB / 187.5 MB, free: 2.949 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 2.104e-06/2.104e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.205e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004598/0.00462, allocations: 3.693 MB / 254.8 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.006475, allocations: 1.422 MB / 256.2 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.006626, allocations: 8 kB / 256.2 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.007665, allocations: 0.7971 MB / 257 MB, free: 1.848 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.008292, allocations: 405.8 kB / 257.4 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.009116, allocations: 0.5214 MB / 257.9 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.009519, allocations: 0.5015 MB / 258.4 MB, free: 432 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.009978, allocations: 354.1 kB / 258.8 MB, free: 72 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.01029, allocations: 323.1 kB / 259.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.01051, allocations: 219.4 kB / 259.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.01055, allocations: 44 kB / 259.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.01085, allocations: 195.8 kB / 259.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.01091, allocations: 119.5 kB / 259.7 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.01103, allocations: 167.5 kB / 259.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.01151, allocations: 0.5098 MB / 260.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01152, allocations: 3.984 kB / 260.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01152, allocations: 0 / 260.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01152, allocations: 0 / 260.3 MB, free: 14.51 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.001364/0.01289, allocations: 0.9718 MB / 261.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.01293, allocations: 11.98 kB / 261.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.01553, allocations: 0.734 MB / 262.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.01587, allocations: 271 kB / 262.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.01591, allocations: 45.69 kB / 262.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.01598, allocations: 52.38 kB / 262.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.01654, allocations: 453.4 kB / 262.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.01655, allocations: 192 / 262.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.01659, allocations: 31.94 kB / 262.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01661, allocations: 15.98 kB / 262.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.01712, allocations: 379.5 kB / 263.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.01911, allocations: 1.586 MB / 264.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.02009, allocations: 0.6911 MB / 265.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.02025, allocations: 133.1 kB / 265.7 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.02029, allocations: 16.48 kB / 265.7 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.02032, allocations: 41.89 kB / 265.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/0.02032, allocations: 0 / 265.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009644/0.02128, allocations: 0.5472 MB / 266.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02131, allocations: 71.83 kB / 266.4 MB, free: 8.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.02145, allocations: 245.7 kB / 266.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.02148, allocations: 33.7 kB / 266.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.02158, allocations: 291.5 kB / 266.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.02167, allocations: 178.4 kB / 267.1 MB, free: 7.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.02177, allocations: 104 kB / 267.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02189, allocations: 0.5079 MB / 267.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.02202, allocations: 89.25 kB / 267.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.02221, allocations: 242.6 kB / 268 MB, free: 6.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.02255, allocations: 373.4 kB / 268.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02255, allocations: 4 kB / 268.4 MB, free: 6.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005457/0.0231, allocations: 473 kB / 268.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.02311, allocations: 8 kB / 268.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.02312, allocations: 8 kB / 268.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.0234, allocations: 99.5 kB / 269 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.02361, allocations: 111.8 kB / 269.1 MB, free: 5.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.02489, allocations: 2.318 MB / 271.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.02503, allocations: 55.66 kB / 271.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.02505, allocations: 27.92 kB / 271.5 MB, free: 2.895 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 0.0001137/0.02517, allocations: 184.5 kB / 271.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.02522, allocations: 39.86 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.02601, allocations: 440.7 kB / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.02601, allocations: 12 kB / 272.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02602, allocations: 0 / 272.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.02602, allocations: 3.984 kB / 272.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.02686, allocations: 0.9079 MB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02687, allocations: 11.92 kB / 273.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.02704, allocations: 71.91 kB / 273.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.02724, allocations: 95.62 kB / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.02726, allocations: 8 kB / 273.2 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.02843, allocations: 2.333 MB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.02843, allocations: 3.984 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.02908, allocations: 0.6382 MB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.02911, allocations: 35.69 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.02913, allocations: 15.94 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02924, allocations: 11.98 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.02931, allocations: 40.42 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.02932, allocations: 12.06 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.515e-05/0.0294, allocations: 176.2 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0294, allocations: 0 / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.02978, allocations: 151.7 kB / 276.6 MB, free: 13.51 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 (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.0001904/0.02997, allocations: 143.1 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000609/0.03058, allocations: 0.5278 MB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03059, allocations: 192 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.03089, allocations: 393.1 kB / 277.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.03114, allocations: 36 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.03239, allocations: 0.784 MB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.03247, allocations: 118.6 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.0326, allocations: 46.95 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.03267, allocations: 36.48 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03267, allocations: 0 / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.006968/0.03964, allocations: 4.349 MB / 283.1 MB, free: 7.012 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 -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.7955592300277203]