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.0006963/0.0006963, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.001904, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007057/0.0007057, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002215, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9762/0.9762, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09296/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.763e-06/1.763e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.245e-05, allocations: 5.969 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004886/0.004909, allocations: 3.689 MB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.007692, allocations: 1.479 MB / 249.9 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.007871, allocations: 12 kB / 249.9 MB, free: 9.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.009249, allocations: 0.797 MB / 250.7 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.01009, allocations: 385.8 kB / 251 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009583/0.01105, allocations: 0.5354 MB / 251.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.01152, allocations: 469.8 kB / 252 MB, free: 6.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005417/0.01206, allocations: 352 kB / 252.4 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.01253, allocations: 319.2 kB / 252.7 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.01282, allocations: 203.5 kB / 252.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.01288, allocations: 44 kB / 252.9 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.01334, allocations: 215.6 kB / 253.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.01342, allocations: 75.75 kB / 253.2 MB, free: 5.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01357, allocations: 127.8 kB / 253.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.01424, allocations: 470.2 kB / 253.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.01426, allocations: 4 kB / 253.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01426, allocations: 3.938 kB / 253.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.01427, allocations: 0 / 253.8 MB, free: 5.07 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001925/0.0162, allocations: 1.02 MB / 254.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01623, allocations: 8.031 kB / 254.8 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.01888, allocations: 0.6524 MB / 255.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.0191, allocations: 173.2 kB / 255.7 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.01913, allocations: 45.69 kB / 255.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.01919, allocations: 52.36 kB / 255.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.01955, allocations: 393.3 kB / 256.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01957, allocations: 4.141 kB / 256.1 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.0196, allocations: 24.12 kB / 256.2 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.01961, allocations: 16 kB / 256.2 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01985, allocations: 230.2 kB / 256.4 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.02112, allocations: 1.202 MB / 257.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.0218, allocations: 0.4956 MB / 258.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.02189, allocations: 88.67 kB / 258.2 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.02194, allocations: 32.45 kB / 258.2 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.02196, allocations: 46.94 kB / 258.3 MB, free: 460 kB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.02197, allocations: 4 kB / 258.3 MB, free: 456 kB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006466/0.02261, allocations: 418.6 kB / 258.7 MB, free: 28 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.02265, allocations: 55.91 kB / 258.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.02273, allocations: 169.1 kB / 258.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.02275, allocations: 29.7 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.02283, allocations: 224.9 kB / 259.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.0229, allocations: 170.5 kB / 259.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.02298, allocations: 90.12 kB / 259.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.02305, allocations: 338.8 kB / 259.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.02311, allocations: 56.92 kB / 259.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.0232, allocations: 128.3 kB / 259.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.02339, allocations: 244.1 kB / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.02339, allocations: 0 / 260.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002924/0.02369, allocations: 303 kB / 260.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.0237, allocations: 12.22 kB / 260.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.0237, allocations: 3.984 kB / 260.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.02392, allocations: 88.8 kB / 260.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.02411, allocations: 103.8 kB / 260.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009066/0.02501, allocations: 1.598 MB / 262.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.02512, allocations: 43.77 kB / 262.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.02513, allocations: 12 kB / 262.3 MB, free: 12.21 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 9.383e-05/0.02523, allocations: 137.8 kB / 262.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.02526, allocations: 23.98 kB / 262.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.02563, allocations: 326.1 kB / 262.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.02564, allocations: 8 kB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02564, allocations: 3.938 kB / 262.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.02564, allocations: 3.984 kB / 262.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.02623, allocations: 0.6067 MB / 263.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02624, allocations: 0 / 263.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.02641, allocations: 83.89 kB / 263.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.02643, allocations: 35.69 kB / 263.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.02661, allocations: 84.8 kB / 263.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.02662, allocations: 11.98 kB / 263.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008283/0.02745, allocations: 1.587 MB / 265.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02745, allocations: 0 / 265.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.02784, allocations: 455.5 kB / 265.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.02786, allocations: 19.88 kB / 265.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.02795, allocations: 8 kB / 265.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.028, allocations: 40.42 kB / 265.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02801, allocations: 11.98 kB / 265.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.02804, allocations: 37.48 kB / 265.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02804, allocations: 0 / 265.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.02837, allocations: 147.7 kB / 265.9 MB, free: 8.449 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.000202/0.02857, allocations: 132.2 kB / 266 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.02895, allocations: 390.2 kB / 266.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.02897, allocations: 8 kB / 266.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.02921, allocations: 320.7 kB / 266.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.02945, allocations: 162.8 kB / 266.9 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.0332, allocations: 0.743 MB / 267.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.03328, allocations: 114.2 kB / 267.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.03344, allocations: 46.95 kB / 267.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.03356, allocations: 95.36 kB / 267.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03356, allocations: 0 / 267.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of Templates: time 0.006289/0.03985, allocations: 4.76 MB / 272.7 MB, free: 1.625 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5395014425739646]