Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009227/0.0009227, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009102/0.0009102, allocations: 157.2 kB / 24.99 MB, free: 8.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9249/0.9249, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.194e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003559/0.003581, allocations: 3.66 MB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.005791, allocations: 1.433 MB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.005996, allocations: 8 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.007094, allocations: 0.8049 MB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.007817, allocations: 381.9 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.008463, allocations: 0.5293 MB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.008854, allocations: 473.7 kB / 280.3 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004491/0.009303, allocations: 350 kB / 280.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.009603, allocations: 307.2 kB / 280.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.009803, allocations: 207.4 kB / 281.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.009846, allocations: 40 kB / 281.1 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.01039, allocations: 203.7 kB / 281.3 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.01045, allocations: 111.6 kB / 281.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.01055, allocations: 159.6 kB / 281.6 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.0111, allocations: 0.5021 MB / 282.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.0111, allocations: 0 / 282.1 MB, free: 8.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.0111, allocations: 3.938 kB / 282.1 MB, free: 8.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.01111, allocations: 4 kB / 282.1 MB, free: 8.559 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.001355/0.01247, allocations: 0.9445 MB / 283.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.0125, allocations: 15.98 kB / 283.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.01468, allocations: 0.578 MB / 283.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.01498, allocations: 255.9 kB / 283.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.01501, allocations: 45.69 kB / 284 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.01507, allocations: 48.38 kB / 284 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.01561, allocations: 421.4 kB / 284.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01563, allocations: 192 / 284.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.01567, allocations: 28.12 kB / 284.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.01568, allocations: 12 kB / 284.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.01617, allocations: 339.5 kB / 284.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.01787, allocations: 1.512 MB / 286.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009032/0.01877, allocations: 0.5934 MB / 286.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.01894, allocations: 131.9 kB / 287 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.019, allocations: 28.47 kB / 287 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01903, allocations: 41.89 kB / 287.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.01903, allocations: 0 / 287.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.00102/0.02005, allocations: 0.5509 MB / 287.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.02008, allocations: 59.91 kB / 287.7 MB, free: 2.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.02021, allocations: 233.7 kB / 287.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.02023, allocations: 33.7 kB / 288 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.02032, allocations: 267.7 kB / 288.2 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.02061, allocations: 162.6 kB / 288.4 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.0207, allocations: 103.7 kB / 288.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02081, allocations: 0.5001 MB / 289 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.02093, allocations: 88.94 kB / 289.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.02111, allocations: 186.9 kB / 289.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.02143, allocations: 303.3 kB / 289.5 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.02144, allocations: 4 kB / 289.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005586/0.02199, allocations: 440.9 kB / 290 MB, free: 388 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.02201, allocations: 8 kB / 290 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.02201, allocations: 0 / 290 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.0223, allocations: 95.62 kB / 290.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.0225, allocations: 91.83 kB / 290.2 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09972/0.1222, allocations: 2.317 MB / 292.5 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1224, allocations: 42.12 kB / 292.5 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1225, allocations: 18.89 kB / 292.5 MB, free: 25.67 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.0001377/0.1226, allocations: 180.3 kB / 292.7 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.1227, allocations: 40.66 kB / 292.8 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006628/0.1233, allocations: 428.7 kB / 293.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1233, allocations: 8.562 kB / 293.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1233, allocations: 3.219 kB / 293.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1234, allocations: 2.812 kB / 293.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009669/0.1243, allocations: 0.901 MB / 294.1 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.1243, allocations: 0 / 294.1 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.1245, allocations: 74.2 kB / 294.2 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.1248, allocations: 100.3 kB / 294.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1248, allocations: 11.41 kB / 294.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.1258, allocations: 2.32 MB / 296.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1258, allocations: 0 / 296.6 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.1265, allocations: 0.6338 MB / 297.2 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.1265, allocations: 27.7 kB / 297.3 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1266, allocations: 11.3 kB / 297.3 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1267, allocations: 16.28 kB / 297.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/0.1267, allocations: 37.81 kB / 297.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1268, allocations: 15.19 kB / 297.3 MB, free: 22.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.564e-05/0.1268, allocations: 158.3 kB / 297.5 MB, free: 22.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1268, allocations: 1.25 kB / 297.5 MB, free: 22.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.1273, allocations: 150.6 kB / 297.6 MB, free: 22.57 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.0002043/0.1275, allocations: 141.2 kB / 297.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006116/0.1281, allocations: 0.5095 MB / 298.3 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1281, allocations: 1.094 kB / 298.3 MB, free: 22.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1284, allocations: 381.8 kB / 298.7 MB, free: 21.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.1286, allocations: 40.28 kB / 298.7 MB, free: 21.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1298, allocations: 0.7362 MB / 299.4 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.11e-05/0.1299, allocations: 110.8 kB / 299.5 MB, free: 21.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.13, allocations: 46.25 kB / 299.6 MB, free: 21.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.1301, allocations: 36.23 kB / 299.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1301, allocations: 0 / 299.6 MB, free: 21.45 MB / 266.7 MB Notification: Performance of Templates: time 0.007188/0.1372, allocations: 4.379 MB / 304 MB, free: 20.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7847700379788876]