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.001676/0.001677, allocations: 115 kB / 19.13 MB, free: 3.945 MB / 14.72 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.00194/0.00194, allocations: 202.6 kB / 22.07 MB, free: 1 MB / 14.72 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 1.526/1.526, allocations: 227.5 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] 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.2858/0.2858, allocations: 46.15 MB / 351.8 MB, free: 14.31 MB / 286.1 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 0.002287/0.002287, allocations: 85.19 kB / 490.9 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1424, allocations: 62.43 MB / 0.5403 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01389/0.1564, allocations: 7.755 MB / 0.5479 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.1624, allocations: 2.443 MB / 0.5503 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.1637, allocations: 27.94 kB / 0.5503 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004712/0.1684, allocations: 1.811 MB / 0.5521 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.171, allocations: 0.702 MB / 0.5528 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.1738, allocations: 1.073 MB / 0.5538 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00298/0.1768, allocations: 1.409 MB / 0.5552 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.1792, allocations: 0.9968 MB / 0.5562 GB, free: 4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1805, allocations: 0.6111 MB / 0.5568 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.1818, allocations: 0.7314 MB / 0.5575 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.1823, allocations: 112 kB / 0.5576 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1835, allocations: 343.8 kB / 0.5579 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.1839, allocations: 290.9 kB / 0.5582 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1851, allocations: 0.6608 MB / 0.5588 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.1883, allocations: 1.766 MB / 0.5605 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1883, allocations: 0 / 0.5605 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1883, allocations: 0 / 0.5605 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.461e-05/0.1884, allocations: 0 / 0.5605 GB, free: 15.48 MB / 430.1 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.008998/0.1974, allocations: 2.417 MB / 0.5629 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1975, allocations: 8.031 kB / 0.5629 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2078, allocations: 1.331 MB / 0.5642 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.2092, allocations: 0.6326 MB / 0.5648 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2094, allocations: 98.95 kB / 0.5649 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.2098, allocations: 128.4 kB / 0.5651 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.2133, allocations: 1.498 MB / 0.5665 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.2134, allocations: 3.953 kB / 0.5665 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.2136, allocations: 56 kB / 0.5666 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.2136, allocations: 32 kB / 0.5666 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.2168, allocations: 1.513 MB / 0.5681 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00945/0.2262, allocations: 5.62 MB / 0.5736 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.229, allocations: 2.18 MB / 0.5757 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.2302, allocations: 0.6476 MB / 0.5763 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.2305, allocations: 191.2 kB / 0.5765 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.2305, allocations: 59.48 kB / 0.5766 GB, free: 14.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.467e-06/0.2305, allocations: 0 / 0.5766 GB, free: 14.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009975/0.2405, allocations: 3.106 MB / 0.5796 GB, free: 11.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.2406, allocations: 90.11 kB / 0.5797 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.2413, allocations: 461.9 kB / 0.5801 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-05/0.2414, allocations: 45.7 kB / 0.5802 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.2418, allocations: 480.9 kB / 0.5806 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.2422, allocations: 444.1 kB / 0.5811 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004006/0.2426, allocations: 218.8 kB / 0.5813 GB, free: 9.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.2428, allocations: 390.7 kB / 0.5816 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/0.2438, allocations: 454.4 kB / 0.5821 GB, free: 8.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.2449, allocations: 0.6958 MB / 0.5827 GB, free: 7.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.2471, allocations: 1.209 MB / 0.5839 GB, free: 6.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.2471, allocations: 0 / 0.5839 GB, free: 6.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003262/0.2504, allocations: 1.602 MB / 0.5855 GB, free: 4.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.2504, allocations: 15.92 kB / 0.5855 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.2504, allocations: 8 kB / 0.5855 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.2521, allocations: 0.5204 MB / 0.586 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/0.253, allocations: 203.6 kB / 0.5862 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000233/0.2532, allocations: 49.27 kB / 0.5863 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.254, allocations: 131 kB / 0.5864 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.2541, allocations: 55.98 kB / 0.5864 GB, free: 3.91 MB / 446.1 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.0005337/0.2547, allocations: 264.2 kB / 0.5867 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.2549, allocations: 83.48 kB / 0.5868 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.2581, allocations: 1.571 MB / 0.5883 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.2581, allocations: 15.94 kB / 0.5883 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2581, allocations: 0 / 0.5883 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.2582, allocations: 11.97 kB / 0.5883 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.2634, allocations: 2.875 MB / 0.5911 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2634, allocations: 0 / 0.5911 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.2641, allocations: 143.8 kB / 0.5913 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/0.2657, allocations: 0.5223 MB / 0.5918 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/0.2658, allocations: 24 kB / 0.5918 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003243/0.2661, allocations: 68.72 kB / 0.5919 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2661, allocations: 0 / 0.5919 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/0.2706, allocations: 2.345 MB / 0.5942 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.2711, allocations: 284.2 kB / 0.5944 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.2712, allocations: 27.94 kB / 0.5945 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.2719, allocations: 48.03 kB / 0.5945 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.2721, allocations: 77.2 kB / 0.5946 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/0.2722, allocations: 39.98 kB / 0.5946 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004215/0.2726, allocations: 306.9 kB / 0.5949 GB, free: 11.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2726, allocations: 0 / 0.5949 GB, free: 11.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001072/0.2737, allocations: 351.2 kB / 0.5953 GB, free: 10.75 MB / 462.1 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.0003494/0.2741, allocations: 170.9 kB / 0.5954 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.2773, allocations: 1.374 MB / 0.5968 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2773, allocations: 0 / 0.5968 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.2792, allocations: 0.7666 MB / 0.5975 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.28, allocations: 110.9 kB / 0.5976 GB, free: 8.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.2841, allocations: 2.125 MB / 0.5997 GB, free: 6.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.2849, allocations: 1.036 MB / 0.6007 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.2852, allocations: 87.41 kB / 0.6008 GB, free: 5.027 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2852, allocations: 0 / 0.6008 GB, free: 5.027 MB / 462.1 MB Notification: Performance of Templates: time 0.2958/0.581, allocations: 16.58 MB / 0.617 GB, free: 57.82 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.99580068490468]