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.001371/0.001371, allocations: 81.81 kB / 21.42 MB, free: 3.062 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.001532/0.001532, allocations: 158.7 kB / 24.81 MB, free: 9.316 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.9159/0.9159, allocations: 177 MB / 205.1 MB, free: 5.449 MB / 186.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.2324/0.2324, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.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.393e-06/1.393e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.097e-05, allocations: 4.984 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006513/0.006534, allocations: 7.351 MB / 386.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.01019, allocations: 2.345 MB / 388.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.01067, allocations: 31.88 kB / 388.9 MB, free: 8.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.01327, allocations: 1.87 MB / 390.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.0146, allocations: 0.7181 MB / 391.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.01613, allocations: 1.036 MB / 392.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01742, allocations: 1.458 MB / 394 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.0185, allocations: 0.9183 MB / 394.9 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.01935, allocations: 0.8614 MB / 395.8 MB, free: 1.148 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007991/0.02014, allocations: 0.5726 MB / 396.4 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.02029, allocations: 116 kB / 396.5 MB, free: 472 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.02087, allocations: 323.6 kB / 396.8 MB, free: 148 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.02105, allocations: 306.8 kB / 397.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.0214, allocations: 458.8 kB / 397.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02264, allocations: 1.234 MB / 398.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.02264, allocations: 4 kB / 398.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02264, allocations: 0 / 398.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.02265, allocations: 0 / 398.8 MB, free: 14.15 MB / 378.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.005126/0.02778, allocations: 2.47 MB / 401.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.02782, allocations: 12.03 kB / 401.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/0.0349, allocations: 1.654 MB / 402.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.03587, allocations: 0.5484 MB / 403.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.03594, allocations: 99.02 kB / 403.6 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.03611, allocations: 132.3 kB / 403.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.03754, allocations: 1.152 MB / 404.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.03757, allocations: 4.188 kB / 404.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.03767, allocations: 59.94 kB / 404.9 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.03769, allocations: 32 kB / 405 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.03871, allocations: 0.7124 MB / 405.7 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.04391, allocations: 4.364 MB / 410 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.04525, allocations: 0.8935 MB / 410.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.04564, allocations: 325.1 kB / 411.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.04575, allocations: 52.95 kB / 411.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.04578, allocations: 50.33 kB / 411.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.767e-06/0.04579, allocations: 0 / 411.3 MB, free: 1.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.005313/0.0511, allocations: 2.274 MB / 413.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.05114, allocations: 90.11 kB / 413.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.05148, allocations: 462.2 kB / 414.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.05154, allocations: 49.69 kB / 414.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.0518, allocations: 0.5191 MB / 414.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.05208, allocations: 452.1 kB / 415.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.05237, allocations: 240.3 kB / 415.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.05255, allocations: 0.5702 MB / 416 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.05284, allocations: 190.5 kB / 416.2 MB, free: 12.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.05333, allocations: 0.5391 MB / 416.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.05445, allocations: 0.8105 MB / 417.5 MB, free: 10.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.05446, allocations: 0 / 417.5 MB, free: 10.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001475/0.05593, allocations: 1.042 MB / 418.5 MB, free: 9.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.05596, allocations: 11.98 kB / 418.6 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.05597, allocations: 8 kB / 418.6 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/0.05688, allocations: 413.2 kB / 419 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.05739, allocations: 191.7 kB / 419.2 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001226/0.05752, allocations: 64.06 kB / 419.2 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.05795, allocations: 119.1 kB / 419.3 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.05801, allocations: 39.98 kB / 419.4 MB, free: 8.871 MB / 394.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.0002421/0.05825, allocations: 232.2 kB / 419.6 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.05842, allocations: 111.5 kB / 419.7 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.0598, allocations: 1.014 MB / 420.7 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.05981, allocations: 15.98 kB / 420.7 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.05982, allocations: 0 / 420.7 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.05983, allocations: 3.984 kB / 420.7 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.06229, allocations: 1.846 MB / 422.6 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.0623, allocations: 3.984 kB / 422.6 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.0627, allocations: 135.8 kB / 422.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008542/0.06356, allocations: 406.6 kB / 423.1 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.06362, allocations: 24 kB / 423.1 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001793/0.0638, allocations: 67.61 kB / 423.2 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.0638, allocations: 4 kB / 423.2 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.06589, allocations: 1.464 MB / 424.7 MB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.06615, allocations: 207.1 kB / 424.9 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.913e-05/0.0662, allocations: 24 kB / 424.9 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.06645, allocations: 44.02 kB / 425 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.06655, allocations: 85.09 kB / 425 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.06659, allocations: 27.98 kB / 425.1 MB, free: 3.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.06677, allocations: 279 kB / 425.3 MB, free: 2.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.06677, allocations: 0 / 425.3 MB, free: 2.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009524/0.06772, allocations: 347.2 kB / 425.7 MB, free: 2.465 MB / 394.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.0002745/0.06799, allocations: 171 kB / 425.8 MB, free: 2.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.06967, allocations: 0.8468 MB / 426.7 MB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.06967, allocations: 4.188 kB / 426.7 MB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.07068, allocations: 0.5115 MB / 427.2 MB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.07117, allocations: 117.9 kB / 427.3 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.07421, allocations: 1.866 MB / 429.2 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.07439, allocations: 199.2 kB / 429.4 MB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004051/0.07479, allocations: 106.4 kB / 429.5 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.07518, allocations: 206.1 kB / 429.7 MB, free: 14.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.07518, allocations: 0 / 429.7 MB, free: 14.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02366/0.09884, allocations: 13.25 MB / 442.9 MB, free: 1.246 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.38641348015517]