Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00101/0.00101, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001236/0.001236, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9348/0.9348, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1395/0.1395, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.695e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1439/0.144, allocations: 7.34 MB / 306.4 MB, free: 16.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.1488, allocations: 2.393 MB / 308.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.1499, allocations: 29.06 kB / 308.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.1525, allocations: 1.942 MB / 310.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.155, allocations: 0.7438 MB / 311.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1569, allocations: 1.033 MB / 312.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.159, allocations: 1.496 MB / 314 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.1604, allocations: 0.9901 MB / 315 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.1615, allocations: 0.8797 MB / 315.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.1621, allocations: 0.5959 MB / 316.5 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.1624, allocations: 113.7 kB / 316.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008232/0.1632, allocations: 319.3 kB / 316.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.1633, allocations: 309.3 kB / 317.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.1638, allocations: 470.3 kB / 317.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.1654, allocations: 1.241 MB / 318.9 MB, free: 9.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1654, allocations: 0 / 318.9 MB, free: 9.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1654, allocations: 7.938 kB / 318.9 MB, free: 9.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.549e-05/0.1654, allocations: 0 / 318.9 MB, free: 9.609 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004197/0.1696, allocations: 2.536 MB / 321.5 MB, free: 7.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1697, allocations: 12.03 kB / 321.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.1746, allocations: 2.045 MB / 323.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.1758, allocations: 374.9 kB / 323.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.1759, allocations: 103.1 kB / 324 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.176, allocations: 132.4 kB / 324.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1772, allocations: 1.197 MB / 325.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.1772, allocations: 8.125 kB / 325.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.1773, allocations: 59.94 kB / 325.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1773, allocations: 40 kB / 325.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.178, allocations: 0.6504 MB / 326.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.1821, allocations: 3.493 MB / 329.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.1829, allocations: 0.876 MB / 330.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1832, allocations: 284.3 kB / 330.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.1833, allocations: 40.97 kB / 330.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.1833, allocations: 43.56 kB / 330.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.238e-06/0.1834, allocations: 0 / 330.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=129): time 0.003744/0.1871, allocations: 2.111 MB / 332.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1871, allocations: 94.11 kB / 333 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1874, allocations: 414.8 kB / 333.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.1874, allocations: 45.7 kB / 333.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1876, allocations: 477.4 kB / 333.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.1879, allocations: 452 kB / 334.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.1881, allocations: 226.7 kB / 334.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1882, allocations: 386.6 kB / 335 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1884, allocations: 174.1 kB / 335.1 MB, free: 9.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.1887, allocations: 462.7 kB / 335.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.1893, allocations: 0.7532 MB / 336.3 MB, free: 8.383 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.1893, allocations: 4 kB / 336.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.000958/0.1903, allocations: 0.8906 MB / 337.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1903, allocations: 12 kB / 337.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1903, allocations: 8 kB / 337.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/0.191, allocations: 393.4 kB / 337.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1914, allocations: 203.7 kB / 337.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.1915, allocations: 65.23 kB / 337.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.1919, allocations: 131 kB / 338 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.1919, allocations: 36 kB / 338.1 MB, free: 6.637 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0002339/0.1922, allocations: 185.5 kB / 338.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1923, allocations: 87.92 kB / 338.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/0.1932, allocations: 0.8425 MB / 339.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.1932, allocations: 16 kB / 339.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1932, allocations: 7.922 kB / 339.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.1932, allocations: 7.984 kB / 339.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1949, allocations: 1.471 MB / 340.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1949, allocations: 0 / 340.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.1952, allocations: 135.8 kB / 340.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/0.1958, allocations: 382.7 kB / 341.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.1958, allocations: 27.98 kB / 341.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.634e-05/0.1959, allocations: 28.83 kB / 341.2 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1959, allocations: 3.938 kB / 341.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.197, allocations: 1.172 MB / 342.4 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.1972, allocations: 127.1 kB / 342.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.1973, allocations: 23.62 kB / 342.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1976, allocations: 47.97 kB / 342.6 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.1977, allocations: 85.12 kB / 342.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1977, allocations: 24 kB / 342.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1978, allocations: 160.7 kB / 342.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1978, allocations: 0 / 342.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.1985, allocations: 351.2 kB / 343.2 MB, free: 1.391 MB / 298.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 (86): * Single equations (assignments): 85 * 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.0002357/0.1988, allocations: 148.1 kB / 343.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1998, allocations: 0.7916 MB / 344.2 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.1998, allocations: 9.812 kB / 344.2 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.2004, allocations: 477 kB / 344.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2008, allocations: 124.7 kB / 344.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.2032, allocations: 1.859 MB / 346.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2033, allocations: 207.3 kB / 346.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.2036, allocations: 106.8 kB / 346.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.2038, allocations: 183.3 kB / 347.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.714e-06/0.2038, allocations: 0 / 347.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of Templates: time 0.01679/0.2206, allocations: 12.96 MB / 360.1 MB, free: 0.582 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4829062181524932]