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.0009903/0.0009903, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001465/0.001465, allocations: 166.9 kB / 25.33 MB, free: 8.594 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.8119/0.8119, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.543e-06/1.543e-06, allocations: 0 / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.646e-05, allocations: 6.25 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003883/0.003909, allocations: 3.704 MB / 254.7 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.005943, allocations: 1.434 MB / 256.2 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.006163, allocations: 11.94 kB / 256.2 MB, free: 2.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.007306, allocations: 0.7893 MB / 257 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007631/0.008069, allocations: 417.7 kB / 257.4 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.00875, allocations: 0.5249 MB / 257.9 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.009238, allocations: 0.5054 MB / 258.4 MB, free: 104 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.00972, allocations: 350.1 kB / 258.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.01004, allocations: 319.1 kB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.01026, allocations: 223.4 kB / 259.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.01031, allocations: 44 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.01063, allocations: 187.8 kB / 259.5 MB, free: 15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.0107, allocations: 123.5 kB / 259.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.01081, allocations: 171.5 kB / 259.8 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.01132, allocations: 0.5137 MB / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01133, allocations: 0 / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01133, allocations: 0 / 260.3 MB, free: 14.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01133, allocations: 0 / 260.3 MB, free: 14.19 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.001278/0.01261, allocations: 0.9679 MB / 261.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01265, allocations: 19.98 kB / 261.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.01485, allocations: 0.7379 MB / 262 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.01517, allocations: 259.9 kB / 262.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.0152, allocations: 37.69 kB / 262.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.01526, allocations: 60.38 kB / 262.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.0158, allocations: 453.4 kB / 262.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.01582, allocations: 4.188 kB / 262.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.01585, allocations: 27.94 kB / 262.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01587, allocations: 16 kB / 262.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.01635, allocations: 371.5 kB / 263.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.01809, allocations: 1.594 MB / 264.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.01902, allocations: 0.6834 MB / 265.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.01917, allocations: 137 kB / 265.6 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.01922, allocations: 16.5 kB / 265.7 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01924, allocations: 37.89 kB / 265.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.01925, allocations: 8 kB / 265.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009266/0.02017, allocations: 0.551 MB / 266.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.0202, allocations: 55.91 kB / 266.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.02034, allocations: 257.6 kB / 266.6 MB, free: 7.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.02036, allocations: 33.7 kB / 266.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.02047, allocations: 291.5 kB / 266.9 MB, free: 7.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.02055, allocations: 182.4 kB / 267.1 MB, free: 7.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02065, allocations: 100 kB / 267.2 MB, free: 7.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.02077, allocations: 0.5079 MB / 267.7 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.02089, allocations: 89.25 kB / 267.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.02108, allocations: 246.6 kB / 268 MB, free: 6.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.02142, allocations: 377.4 kB / 268.4 MB, free: 5.789 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02142, allocations: 0 / 268.4 MB, free: 5.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005328/0.02195, allocations: 480.7 kB / 268.8 MB, free: 5.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.02197, allocations: 4 kB / 268.8 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.02197, allocations: 4 kB / 268.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.02225, allocations: 103.8 kB / 268.9 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.02246, allocations: 103.8 kB / 269 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.02377, allocations: 2.322 MB / 271.4 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.02392, allocations: 55.56 kB / 271.4 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.02394, allocations: 20 kB / 271.4 MB, free: 2.582 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.0001241/0.02407, allocations: 188.4 kB / 271.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.02412, allocations: 43.88 kB / 271.7 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.02464, allocations: 448.7 kB / 272.1 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02464, allocations: 8 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.02465, allocations: 0 / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.02466, allocations: 7.984 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.0255, allocations: 0.9001 MB / 273 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02551, allocations: 7.938 kB / 273 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.02568, allocations: 75.89 kB / 273.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.02588, allocations: 91.62 kB / 273.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.0259, allocations: 12 kB / 273.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.02711, allocations: 2.329 MB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02711, allocations: 3.984 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.02773, allocations: 0.6422 MB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.02776, allocations: 39.69 kB / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.02779, allocations: 11.94 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.02789, allocations: 19.98 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.02796, allocations: 32.44 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.02798, allocations: 19.98 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.815e-05/0.02806, allocations: 164.2 kB / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02806, allocations: 0 / 276.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000409/0.02847, allocations: 155.7 kB / 276.6 MB, free: 13.19 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.0001962/0.02867, allocations: 139.1 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.02925, allocations: 0.5311 MB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02925, allocations: 0 / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.02955, allocations: 382 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.02979, allocations: 39.98 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.03103, allocations: 0.7879 MB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.0311, allocations: 114.6 kB / 278.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.03122, allocations: 50.95 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.03129, allocations: 36.48 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03129, allocations: 0 / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Templates: time 0.007045/0.03834, allocations: 4.706 MB / 283.4 MB, free: 6.34 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.6204712339676917]