Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001192/0.001192, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.008717/0.008717, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8858/0.8858, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.79 MB / 294.2 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.053e-05, allocations: 6.844 kB / 440.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1689/0.1689, allocations: 6.82 MB / 447.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1717, allocations: 2.296 MB / 450 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/0.1722, allocations: 30.78 kB / 450 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.1738, allocations: 1.783 MB / 451.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.175, allocations: 0.7175 MB / 452.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1762, allocations: 1.037 MB / 453.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.1773, allocations: 1.456 MB / 455 MB, free: 39.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.1782, allocations: 0.9152 MB / 455.9 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.1788, allocations: 0.8623 MB / 456.8 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.1792, allocations: 0.5613 MB / 457.3 MB, free: 38.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.339e-05/0.1792, allocations: 115.4 kB / 457.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.1797, allocations: 327.9 kB / 457.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1798, allocations: 302 kB / 458 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1801, allocations: 458.6 kB / 458.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.1812, allocations: 1.81 MB / 460.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1812, allocations: 0 / 460.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1813, allocations: 0 / 460.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1813, allocations: 3.938 kB / 460.3 MB, free: 36.9 MB / 410.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.003736/0.185, allocations: 2.326 MB / 462.6 MB, free: 35.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.185, allocations: 9.562 kB / 462.6 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/0.1895, allocations: 1.333 MB / 464 MB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009545/0.1905, allocations: 0.5543 MB / 464.5 MB, free: 35.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.1905, allocations: 108.1 kB / 464.6 MB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.1906, allocations: 132.4 kB / 464.8 MB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1922, allocations: 1.592 MB / 466.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.1922, allocations: 192 / 466.4 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.1923, allocations: 61.25 kB / 466.4 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1923, allocations: 35.84 kB / 466.5 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.1938, allocations: 1.504 MB / 468 MB, free: 33.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.198, allocations: 4.273 MB / 472.2 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1991, allocations: 1.073 MB / 473.3 MB, free: 30.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.1997, allocations: 0.5523 MB / 473.9 MB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1998, allocations: 40.05 kB / 473.9 MB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1998, allocations: 49.5 kB / 473.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.066e-06/0.1998, allocations: 1.594 kB / 473.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004572/0.2044, allocations: 2.992 MB / 476.9 MB, free: 29.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2044, allocations: 90.64 kB / 477 MB, free: 29.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.2047, allocations: 420.1 kB / 477.4 MB, free: 29.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.2047, allocations: 44.8 kB / 477.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2049, allocations: 479.4 kB / 477.9 MB, free: 28.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.205, allocations: 445.9 kB / 478.4 MB, free: 28.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2052, allocations: 216.2 kB / 478.6 MB, free: 28.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.2053, allocations: 378.7 kB / 479 MB, free: 27.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.2057, allocations: 459.1 kB / 479.4 MB, free: 27.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.2063, allocations: 0.6993 MB / 480.1 MB, free: 27.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2073, allocations: 1.209 MB / 481.3 MB, free: 26.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2073, allocations: 3 kB / 481.3 MB, free: 26.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001752/0.209, allocations: 1.572 MB / 482.9 MB, free: 25.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2091, allocations: 9 kB / 482.9 MB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2091, allocations: 7.625 kB / 482.9 MB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000941/0.21, allocations: 0.5377 MB / 483.5 MB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.2105, allocations: 191.2 kB / 483.6 MB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.2106, allocations: 56.45 kB / 483.7 MB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.211, allocations: 119.9 kB / 483.8 MB, free: 25.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.211, allocations: 53.39 kB / 483.9 MB, free: 25.44 MB / 410.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.0003521/0.2114, allocations: 273.1 kB / 484.1 MB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2115, allocations: 76.66 kB / 484.2 MB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.2132, allocations: 1.55 MB / 485.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.2132, allocations: 12.56 kB / 485.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2132, allocations: 1.062 kB / 485.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2132, allocations: 6.781 kB / 485.8 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003338/0.2166, allocations: 2.489 MB / 488.3 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2166, allocations: 1.312 kB / 488.3 MB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.217, allocations: 142.7 kB / 488.4 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008347/0.2178, allocations: 0.5241 MB / 488.9 MB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.2178, allocations: 27.28 kB / 489 MB, free: 22.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001447/0.218, allocations: 64.42 kB / 489 MB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.218, allocations: 1.406 kB / 489 MB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.2205, allocations: 2.323 MB / 491.3 MB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.2208, allocations: 197.9 kB / 491.5 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.2209, allocations: 23.22 kB / 491.6 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.2212, allocations: 45.83 kB / 491.6 MB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2213, allocations: 79.14 kB / 491.7 MB, free: 21.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.2213, allocations: 44.31 kB / 491.7 MB, free: 21.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.2215, allocations: 275.3 kB / 492 MB, free: 21.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2215, allocations: 0 / 492 MB, free: 21.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007243/0.2222, allocations: 352.9 kB / 492.3 MB, free: 21.36 MB / 410.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.0002569/0.2225, allocations: 169.2 kB / 492.5 MB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.2243, allocations: 1.277 MB / 493.8 MB, free: 20.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2243, allocations: 0 / 493.8 MB, free: 20.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009701/0.2252, allocations: 0.6823 MB / 494.5 MB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.2257, allocations: 100.2 kB / 494.6 MB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.2283, allocations: 2.079 MB / 496.6 MB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2287, allocations: 457.7 kB / 497.1 MB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.2289, allocations: 78.72 kB / 497.2 MB, free: 19.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.552e-06/0.2289, allocations: 0 / 497.2 MB, free: 19.23 MB / 410.7 MB Notification: Performance of Templates: time 0.0176/0.2465, allocations: 17.22 MB / 0.5023 GB, free: 10.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.519768155179918]