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.0009511/0.0009511, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.00106/0.00106, allocations: 145.1 kB / 24.54 MB, free: 32 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.9489/0.9489, allocations: 173.4 MB / 201.1 MB, free: 9.316 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.232e-06/1.232e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.229e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003446/0.003468, allocations: 3.651 MB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005361, allocations: 1.386 MB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.005589, allocations: 16 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.006697, allocations: 0.801 MB / 273.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008661/0.007563, allocations: 0.5167 MB / 274.4 MB, free: 8 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.00814, allocations: 417.4 kB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.008591, allocations: 477.7 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.009063, allocations: 350 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.0094, allocations: 303.2 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.009613, allocations: 203.5 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.00966, allocations: 40 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.009996, allocations: 191.7 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.01006, allocations: 115.6 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.01017, allocations: 155.6 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.01072, allocations: 0.502 MB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01072, allocations: 0 / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01072, allocations: 0 / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.01073, allocations: 0 / 277.1 MB, free: 13.3 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.001291/0.01202, allocations: 0.9407 MB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01205, allocations: 8.031 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.01388, allocations: 0.6131 MB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.01418, allocations: 248 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.01421, allocations: 41.69 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.01427, allocations: 60.33 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.01481, allocations: 421.4 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01482, allocations: 192 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.01486, allocations: 28.12 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.01487, allocations: 16 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.01531, allocations: 331.5 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.01693, allocations: 1.496 MB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.01778, allocations: 0.5923 MB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01793, allocations: 136 kB / 282 MB, free: 8.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.01797, allocations: 16.48 kB / 282 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.018, allocations: 37.89 kB / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.018, allocations: 4 kB / 282 MB, free: 8.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009492/0.01895, allocations: 0.5471 MB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.01897, allocations: 55.91 kB / 282.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.0191, allocations: 233.8 kB / 282.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01912, allocations: 29.7 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.01922, allocations: 279.7 kB / 283.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.01931, allocations: 166.6 kB / 283.3 MB, free: 6.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.0194, allocations: 95.83 kB / 283.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01951, allocations: 0.504 MB / 283.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01963, allocations: 80.95 kB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.01979, allocations: 182.9 kB / 284.2 MB, free: 5.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.02008, allocations: 311.4 kB / 284.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02009, allocations: 0 / 284.5 MB, free: 5.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004969/0.02058, allocations: 432.7 kB / 284.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.0206, allocations: 8.219 kB / 284.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.0206, allocations: 4 kB / 284.9 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.02088, allocations: 99.5 kB / 285 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.02107, allocations: 95.83 kB / 285.1 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.02237, allocations: 2.321 MB / 287.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.02249, allocations: 43.67 kB / 287.5 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.02251, allocations: 20.03 kB / 287.5 MB, free: 2.422 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.0001135/0.02262, allocations: 176.5 kB / 287.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.02267, allocations: 47.8 kB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.02319, allocations: 428 kB / 288.1 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02319, allocations: 4 kB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.0232, allocations: 8 kB / 288.1 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.02321, allocations: 3.984 kB / 288.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.02405, allocations: 0.8884 MB / 289 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.02405, allocations: 0 / 289 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.02422, allocations: 75.89 kB / 289.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.02443, allocations: 99.56 kB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.02444, allocations: 4 kB / 289.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1055/0.1299, allocations: 2.315 MB / 291.5 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1299, allocations: 1.125 kB / 291.5 MB, free: 23.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.1307, allocations: 0.6273 MB / 292.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1307, allocations: 30.19 kB / 292.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1308, allocations: 10.28 kB / 292.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1309, allocations: 20.62 kB / 292.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.131, allocations: 34.69 kB / 292.2 MB, free: 23.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.131, allocations: 15.05 kB / 292.3 MB, free: 23.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.1311, allocations: 162.2 kB / 292.4 MB, free: 23.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1311, allocations: 0 / 292.4 MB, free: 23.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.1315, allocations: 153.5 kB / 292.6 MB, free: 23.35 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.0002002/0.1317, allocations: 133.9 kB / 292.7 MB, free: 23.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.1324, allocations: 0.5033 MB / 293.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1324, allocations: 0 / 293.2 MB, free: 23.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1327, allocations: 380.7 kB / 293.6 MB, free: 22.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1329, allocations: 30.52 kB / 293.6 MB, free: 22.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1341, allocations: 0.7407 MB / 294.3 MB, free: 22.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.916e-05/0.1342, allocations: 111.1 kB / 294.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1343, allocations: 49.62 kB / 294.5 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.1344, allocations: 34.05 kB / 294.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1344, allocations: 0 / 294.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of Templates: time 0.007664/0.142, allocations: 4.602 MB / 299.1 MB, free: 21.95 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.71552527602762]