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.0006986/0.0006986, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001751, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006722/0.0006722, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001602, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9721/0.9721, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08495/1.057, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.222e-06/1.222e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.139e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.007356/0.007378, allocations: 3.681 MB / 248.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005421/0.0128, allocations: 1.487 MB / 250.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.01309, allocations: 8 kB / 250.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.01432, allocations: 0.7931 MB / 251.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008077/0.01513, allocations: 385.8 kB / 251.5 MB, free: 7.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.01744, allocations: 0.5252 MB / 252.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.01809, allocations: 481.7 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.01873, allocations: 356 kB / 252.9 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.01925, allocations: 299.4 kB / 253.2 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.01963, allocations: 211.4 kB / 253.4 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.01972, allocations: 40 kB / 253.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.02031, allocations: 227.6 kB / 253.7 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.02039, allocations: 75.75 kB / 253.7 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.02056, allocations: 127.8 kB / 253.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.02132, allocations: 470.3 kB / 254.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.02133, allocations: 4 kB / 254.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02133, allocations: 0 / 254.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.02135, allocations: 0 / 254.3 MB, free: 4.426 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.002183/0.02353, allocations: 1.023 MB / 255.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.02357, allocations: 8.031 kB / 255.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.02545, allocations: 0.6446 MB / 256 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.02571, allocations: 189.1 kB / 256.2 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.02574, allocations: 37.69 kB / 256.2 MB, free: 2.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.0258, allocations: 60.33 kB / 256.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.02619, allocations: 389.3 kB / 256.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.02621, allocations: 192 / 256.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.02624, allocations: 24.12 kB / 256.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.02625, allocations: 12 kB / 256.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.02651, allocations: 238.2 kB / 256.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.02798, allocations: 1.186 MB / 258.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.02872, allocations: 0.4995 MB / 258.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.0288, allocations: 93.44 kB / 258.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.02886, allocations: 28.47 kB / 258.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.02888, allocations: 39 kB / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.834e-06/0.02888, allocations: 4 kB / 258.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006645/0.02955, allocations: 434.5 kB / 259.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.02957, allocations: 55.91 kB / 259.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.02966, allocations: 167.1 kB / 259.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.02968, allocations: 33.7 kB / 259.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.02975, allocations: 225 kB / 259.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.02983, allocations: 166.5 kB / 259.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.02991, allocations: 86.12 kB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/0.02999, allocations: 338.8 kB / 260.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.03004, allocations: 52.92 kB / 260.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.03015, allocations: 132.3 kB / 260.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.03034, allocations: 240.1 kB / 260.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.03034, allocations: 4 kB / 260.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003713/0.03071, allocations: 303 kB / 261 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.03073, allocations: 8.219 kB / 261 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.03074, allocations: 4 kB / 261 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.03098, allocations: 92.66 kB / 261.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.03118, allocations: 103.9 kB / 261.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000967/0.03215, allocations: 1.599 MB / 262.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.03226, allocations: 43.77 kB / 262.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.03228, allocations: 12 kB / 262.8 MB, free: 11.56 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.0001051/0.03239, allocations: 133.8 kB / 262.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.03243, allocations: 31.98 kB / 263 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.03282, allocations: 322.1 kB / 263.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.03283, allocations: 4 kB / 263.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.03283, allocations: 7.938 kB / 263.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.03284, allocations: 3.984 kB / 263.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.03345, allocations: 0.6067 MB / 263.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03345, allocations: 0 / 263.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.03361, allocations: 79.89 kB / 264 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.03364, allocations: 31.69 kB / 264 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.03382, allocations: 92.72 kB / 264.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.03384, allocations: 11.98 kB / 264.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/0.03471, allocations: 1.583 MB / 265.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.03471, allocations: 4 kB / 265.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.03511, allocations: 455.5 kB / 266.2 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.03513, allocations: 7.938 kB / 266.2 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.03522, allocations: 19.98 kB / 266.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.03527, allocations: 32.44 kB / 266.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.03529, allocations: 11.98 kB / 266.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.03532, allocations: 36.77 kB / 266.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03532, allocations: 0 / 266.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.03565, allocations: 151.7 kB / 266.4 MB, free: 7.805 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.0002214/0.03587, allocations: 132.3 kB / 266.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.0363, allocations: 398.1 kB / 266.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.03631, allocations: 4 kB / 266.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.03656, allocations: 316.7 kB / 267.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.03678, allocations: 178.8 kB / 267.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.04048, allocations: 0.7275 MB / 268.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.04054, allocations: 118.2 kB / 268.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.04064, allocations: 42.95 kB / 268.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.04075, allocations: 99.38 kB / 268.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04075, allocations: 0 / 268.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of Templates: time 0.006359/0.04711, allocations: 4.751 MB / 273.1 MB, free: 0.9766 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5477795489132404]