Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.666/1.666, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2643/0.2643, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 66 MB / 0.5559 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01043/0.1637, allocations: 7.773 MB / 0.5634 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.1697, allocations: 2.443 MB / 0.5658 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.1706, allocations: 31.94 kB / 0.5659 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.1756, allocations: 1.827 MB / 0.5676 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.1779, allocations: 0.7066 MB / 0.5683 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.1806, allocations: 1.086 MB / 0.5694 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.183, allocations: 1.408 MB / 0.5708 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.1844, allocations: 0.7742 MB / 0.5715 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1855, allocations: 0.6228 MB / 0.5721 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.1864, allocations: 0.7315 MB / 0.5729 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.1865, allocations: 116 kB / 0.573 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008789/0.1874, allocations: 331.8 kB / 0.5733 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.1877, allocations: 298.9 kB / 0.5736 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006789/0.1884, allocations: 0.6491 MB / 0.5742 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.1909, allocations: 1.77 MB / 0.5759 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1909, allocations: 3.938 kB / 0.5759 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1909, allocations: 0 / 0.5759 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.1909, allocations: 4 kB / 0.5759 GB, free: 0.6953 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.008402/0.1993, allocations: 2.41 MB / 0.5783 GB, free: 14.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.1994, allocations: 15.97 kB / 0.5783 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.2097, allocations: 1.327 MB / 0.5796 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.211, allocations: 0.6248 MB / 0.5802 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2111, allocations: 107 kB / 0.5803 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.2113, allocations: 128.4 kB / 0.5804 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.2142, allocations: 1.487 MB / 0.5819 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.2143, allocations: 19.88 kB / 0.5819 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.2144, allocations: 52 kB / 0.582 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.2145, allocations: 36 kB / 0.582 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.2174, allocations: 1.513 MB / 0.5835 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009062/0.2265, allocations: 5.616 MB / 0.589 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.2293, allocations: 2.05 MB / 0.591 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.2304, allocations: 0.5421 MB / 0.5915 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3374/0.5678, allocations: 192.3 kB / 0.5917 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.5678, allocations: 50.42 kB / 0.5917 GB, free: 34.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.5678, allocations: 0 / 0.5917 GB, free: 34.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.01039/0.5782, allocations: 3.074 MB / 0.5947 GB, free: 34.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5783, allocations: 93.2 kB / 0.5948 GB, free: 34.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.5789, allocations: 465.6 kB / 0.5952 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.579, allocations: 47.61 kB / 0.5953 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.5793, allocations: 482 kB / 0.5958 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.5797, allocations: 442.5 kB / 0.5962 GB, free: 33.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.5802, allocations: 219.8 kB / 0.5964 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5803, allocations: 390.2 kB / 0.5968 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.5813, allocations: 455.3 kB / 0.5972 GB, free: 33.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.5823, allocations: 0.6947 MB / 0.5979 GB, free: 32.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.5842, allocations: 1.204 MB / 0.599 GB, free: 31.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.5842, allocations: 2.688 kB / 0.599 GB, free: 31.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003168/0.5874, allocations: 1.581 MB / 0.6006 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.5874, allocations: 8.297 kB / 0.6006 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.5875, allocations: 11.12 kB / 0.6006 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.5892, allocations: 0.5194 MB / 0.6011 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008245/0.59, allocations: 203.5 kB / 0.6013 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002095/0.5902, allocations: 50.83 kB / 0.6014 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006895/0.5909, allocations: 121.7 kB / 0.6015 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.591, allocations: 55.05 kB / 0.6015 GB, free: 30.88 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.0004542/0.5914, allocations: 279.1 kB / 0.6018 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.5916, allocations: 83 kB / 0.6019 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.5945, allocations: 1.535 MB / 0.6034 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.5945, allocations: 17.7 kB / 0.6034 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.5945, allocations: 1 kB / 0.6034 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.5945, allocations: 6.641 kB / 0.6034 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.5992, allocations: 2.85 MB / 0.6062 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5992, allocations: 0.8438 kB / 0.6062 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.5998, allocations: 143 kB / 0.6063 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.6013, allocations: 0.5218 MB / 0.6068 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.6014, allocations: 27.19 kB / 0.6069 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003188/0.6017, allocations: 70.56 kB / 0.6069 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6017, allocations: 0 / 0.6069 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.6059, allocations: 2.322 MB / 0.6092 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/0.6063, allocations: 286.6 kB / 0.6095 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.6064, allocations: 22.11 kB / 0.6095 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.6071, allocations: 43.62 kB / 0.6095 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.6073, allocations: 80.59 kB / 0.6096 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.6074, allocations: 40.52 kB / 0.6096 GB, free: 26.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.6079, allocations: 316.4 kB / 0.6099 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6079, allocations: 1.062 kB / 0.6099 GB, free: 26.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001361/0.6092, allocations: 342.1 kB / 0.6103 GB, free: 26.59 MB / 446.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.0003517/0.6096, allocations: 167 kB / 0.6104 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.6127, allocations: 1.276 MB / 0.6117 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6127, allocations: 2.469 kB / 0.6117 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.6146, allocations: 0.6817 MB / 0.6123 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.6153, allocations: 102.6 kB / 0.6124 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.6194, allocations: 2.078 MB / 0.6145 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.6201, allocations: 1.043 MB / 0.6155 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000451/0.6205, allocations: 108.5 kB / 0.6156 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.6207, allocations: 68.19 kB / 0.6157 GB, free: 23.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6207, allocations: 0.9062 kB / 0.6157 GB, free: 23.89 MB / 446.1 MB Notification: Performance of Templates: time 0.02273/0.6435, allocations: 14.36 MB / 0.6297 GB, free: 15.54 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.444462716579437]