Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.0009186/0.0009186, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009139/0.0009139, allocations: 168.1 kB / 24.99 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.935e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003366/0.003385, allocations: 3.665 MB / 276.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.00503, allocations: 1.437 MB / 278.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.005166, allocations: 8 kB / 278.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.006377, allocations: 0.7932 MB / 279 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.006916, allocations: 389.8 kB / 279.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.007484, allocations: 0.5332 MB / 279.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.007817, allocations: 473.7 kB / 280.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.008218, allocations: 354 kB / 280.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.008495, allocations: 307.2 kB / 281 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.008686, allocations: 207.4 kB / 281.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.008731, allocations: 44 kB / 281.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.008973, allocations: 199.7 kB / 281.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.009028, allocations: 115.5 kB / 281.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.009132, allocations: 159.6 kB / 281.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.009588, allocations: 0.5021 MB / 282.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.009591, allocations: 0 / 282.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.009591, allocations: 0 / 282.2 MB, free: 8.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.009596, allocations: 0 / 282.2 MB, free: 8.672 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.001281/0.01088, allocations: 0.9484 MB / 283.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01091, allocations: 8.031 kB / 283.1 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.01305, allocations: 0.5819 MB / 283.7 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.01333, allocations: 251.9 kB / 284 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.01335, allocations: 49.62 kB / 284 MB, free: 6.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.01341, allocations: 52.38 kB / 284.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.01393, allocations: 421.4 kB / 284.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.01394, allocations: 192 / 284.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.01398, allocations: 24.12 kB / 284.5 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01399, allocations: 16 kB / 284.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.01447, allocations: 335.6 kB / 284.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.01639, allocations: 1.508 MB / 286.4 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.01729, allocations: 0.5876 MB / 286.9 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.01746, allocations: 129.1 kB / 287.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.01751, allocations: 32.47 kB / 287.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.01754, allocations: 37.89 kB / 287.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.01754, allocations: 0 / 287.1 MB, free: 3.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001041/0.01858, allocations: 0.5509 MB / 287.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01861, allocations: 59.91 kB / 287.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01875, allocations: 236.4 kB / 288 MB, free: 2.664 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.01878, allocations: 29.7 kB / 288 MB, free: 2.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.01889, allocations: 271.7 kB / 288.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.01897, allocations: 162.6 kB / 288.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.01907, allocations: 95.8 kB / 288.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01919, allocations: 0.5079 MB / 289 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.01932, allocations: 84.94 kB / 289.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.01951, allocations: 186.9 kB / 289.3 MB, free: 1.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.01984, allocations: 303.4 kB / 289.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01985, allocations: 0 / 289.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000556/0.0204, allocations: 436.9 kB / 290 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02042, allocations: 10.02 kB / 290 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.02043, allocations: 4 kB / 290 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.02072, allocations: 95.56 kB / 290.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.02092, allocations: 87.89 kB / 290.2 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1017/0.1227, allocations: 2.329 MB / 292.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.1229, allocations: 41.38 kB / 292.6 MB, free: 25.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.123, allocations: 18.45 kB / 292.6 MB, free: 25.71 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.0001656/0.1231, allocations: 184 kB / 292.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.1232, allocations: 40.42 kB / 292.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006397/0.1238, allocations: 426.8 kB / 293.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1238, allocations: 9.531 kB / 293.3 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1238, allocations: 2.938 kB / 293.3 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1238, allocations: 2.859 kB / 293.3 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.1248, allocations: 0.8949 MB / 294.2 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1248, allocations: 1.188 kB / 294.2 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.125, allocations: 75.14 kB / 294.2 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.1252, allocations: 94.25 kB / 294.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.1253, allocations: 12.39 kB / 294.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.1263, allocations: 2.329 MB / 296.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1263, allocations: 0 / 296.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.127, allocations: 0.6304 MB / 297.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.127, allocations: 34.86 kB / 297.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.127, allocations: 10.88 kB / 297.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1271, allocations: 22.72 kB / 297.4 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.1272, allocations: 36.92 kB / 297.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1272, allocations: 15.06 kB / 297.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.918e-05/0.1273, allocations: 158.4 kB / 297.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1273, allocations: 0 / 297.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.1277, allocations: 149.1 kB / 297.7 MB, free: 22.58 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.0001874/0.1279, allocations: 142.2 kB / 297.8 MB, free: 22.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.1285, allocations: 0.5052 MB / 298.4 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1285, allocations: 0 / 298.4 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.1288, allocations: 382.5 kB / 298.7 MB, free: 21.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.129, allocations: 36.59 kB / 298.8 MB, free: 21.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1302, allocations: 0.7344 MB / 299.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.1302, allocations: 112.2 kB / 299.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1304, allocations: 45.12 kB / 299.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.1304, allocations: 35.64 kB / 299.7 MB, free: 21.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1304, allocations: 0 / 299.7 MB, free: 21.46 MB / 266.7 MB Notification: Performance of Templates: time 0.006769/0.1372, allocations: 4.404 MB / 304.1 MB, free: 20.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7169624569360167]