Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001148/0.001148, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002407, 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.001037/0.001037, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002478, 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.9825/0.9825, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08663/1.069, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0281/0.2575, allocations: 13.24 MB / 292.8 MB, free: 6.355 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 294.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.615e-05, allocations: 4.656 kB / 294.1 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008331/0.008347, allocations: 7.447 MB / 301.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.01218, allocations: 2.458 MB / 304 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.01267, allocations: 35.88 kB / 304 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.01461, allocations: 1.921 MB / 306 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.01584, allocations: 0.718 MB / 306.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.01723, allocations: 1.043 MB / 307.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.01852, allocations: 1.466 MB / 309.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.01956, allocations: 0.8875 MB / 310.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.02037, allocations: 0.9035 MB / 311 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.02097, allocations: 0.5765 MB / 311.6 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.02114, allocations: 112 kB / 311.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.02173, allocations: 347.5 kB / 312 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.02186, allocations: 211.2 kB / 312.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.02212, allocations: 367.2 kB / 312.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.02322, allocations: 1.125 MB / 313.7 MB, free: 1.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.02323, allocations: 3.938 kB / 313.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02323, allocations: 0 / 313.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.02326, allocations: 0 / 313.7 MB, free: 1.371 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.004358/0.02761, allocations: 2.846 MB / 316.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.02765, allocations: 8.922 kB / 316.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.0332, allocations: 1.834 MB / 318.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.03381, allocations: 378.8 kB / 318.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.03386, allocations: 99.02 kB / 318.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.03399, allocations: 136.3 kB / 319 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.03504, allocations: 1.154 MB / 320.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.03507, allocations: 8.078 kB / 320.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.03514, allocations: 55.94 kB / 320.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.03517, allocations: 36 kB / 320.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.03586, allocations: 0.6261 MB / 320.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/0.03954, allocations: 3.441 MB / 324.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.04034, allocations: 0.8545 MB / 325.2 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.0406, allocations: 271.5 kB / 325.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.132e-05/0.04069, allocations: 44.91 kB / 325.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.04072, allocations: 51.56 kB / 325.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.076e-06/0.04072, allocations: 0 / 325.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.003656/0.04438, allocations: 2.055 MB / 327.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.04442, allocations: 94.11 kB / 327.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.04464, allocations: 390.9 kB / 328 MB, free: 2.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.04469, allocations: 45.7 kB / 328.1 MB, free: 2.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.04486, allocations: 449.5 kB / 328.5 MB, free: 2.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.04507, allocations: 444.1 kB / 329 MB, free: 1.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.04527, allocations: 214.7 kB / 329.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.04537, allocations: 390.6 kB / 329.6 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.04557, allocations: 169.4 kB / 329.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.04587, allocations: 420.5 kB / 330.1 MB, free: 432 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.04646, allocations: 0.7154 MB / 330.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.04647, allocations: 3.938 kB / 330.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0009077/0.04737, allocations: 0.8428 MB / 331.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.04739, allocations: 8 kB / 331.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.04741, allocations: 12 kB / 331.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007021/0.04811, allocations: 393.2 kB / 332.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.04855, allocations: 223.6 kB / 332.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.97e-05/0.04865, allocations: 57.25 kB / 332.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.04899, allocations: 111.2 kB / 332.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.04903, allocations: 39.92 kB / 332.5 MB, free: 13.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.04923, allocations: 185.5 kB / 332.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.04933, allocations: 91.92 kB / 332.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.05021, allocations: 0.8384 MB / 333.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.05022, allocations: 12 kB / 333.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.05022, allocations: 0 / 333.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.05023, allocations: 11.97 kB / 333.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.05184, allocations: 1.459 MB / 335.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.05184, allocations: 0 / 335.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.05219, allocations: 163.8 kB / 335.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.05238, allocations: 123.1 kB / 335.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006349/0.05302, allocations: 382.7 kB / 335.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.05306, allocations: 27.98 kB / 335.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001274/0.05319, allocations: 68.78 kB / 335.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.05319, allocations: 0 / 335.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.05436, allocations: 1.226 MB / 337.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.05442, allocations: 27.97 kB / 337.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.05466, allocations: 47.98 kB / 337.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.05477, allocations: 81.14 kB / 337.2 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.0548, allocations: 20 kB / 337.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.0549, allocations: 152.7 kB / 337.4 MB, free: 8.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0549, allocations: 0 / 337.4 MB, free: 8.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.05546, allocations: 351.2 kB / 337.7 MB, free: 8.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.05567, allocations: 152.1 kB / 337.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009582/0.05663, allocations: 0.7871 MB / 338.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.812e-05/0.05666, allocations: 23.11 kB / 338.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.05729, allocations: 0.5179 MB / 339.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.05789, allocations: 0.75 MB / 340 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.06651, allocations: 1.914 MB / 341.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.06664, allocations: 207.2 kB / 342.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.0669, allocations: 106.7 kB / 342.2 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.06715, allocations: 183.3 kB / 342.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.06715, allocations: 0 / 342.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of Templates: time 0.01522/0.08237, allocations: 13.32 MB / 355.7 MB, free: 6.625 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.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: 3.0969404745846987]