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.000836/0.000836, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003256/0.003256, allocations: 161 kB / 24.7 MB, free: 9.41 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.8226/0.8226, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.219/0.219, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.453e-06/1.453e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.746e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.1574/0.1574, allocations: 6.819 MB / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1597, allocations: 2.291 MB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.16, allocations: 33.97 kB / 452.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1615, allocations: 1.779 MB / 454.4 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.1623, allocations: 0.7197 MB / 455.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.1632, allocations: 1.037 MB / 456.1 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006899/0.1639, allocations: 1.458 MB / 457.6 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007311/0.1646, allocations: 0.9203 MB / 458.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.1651, allocations: 0.8615 MB / 459.4 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.1655, allocations: 0.5627 MB / 459.9 MB, free: 35.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/0.1656, allocations: 111.3 kB / 460 MB, free: 35.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1659, allocations: 329.8 kB / 460.4 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.463e-05/0.166, allocations: 297.3 kB / 460.6 MB, free: 35.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.1662, allocations: 458.8 kB / 461.1 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.1672, allocations: 1.812 MB / 462.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1672, allocations: 0 / 462.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1672, allocations: 0 / 462.9 MB, free: 34.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1672, allocations: 4 kB / 462.9 MB, free: 34.08 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.003468/0.1707, allocations: 2.322 MB / 465.2 MB, free: 33.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1707, allocations: 9.094 kB / 465.2 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.1751, allocations: 1.34 MB / 466.6 MB, free: 32.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.1757, allocations: 0.5535 MB / 467.1 MB, free: 32.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.1757, allocations: 105.7 kB / 467.2 MB, free: 32.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.1759, allocations: 133.1 kB / 467.4 MB, free: 32.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1772, allocations: 1.593 MB / 469 MB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.1773, allocations: 4.188 kB / 469 MB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.1774, allocations: 59.78 kB / 469 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1774, allocations: 32.47 kB / 469.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1788, allocations: 1.506 MB / 470.6 MB, free: 30.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.1825, allocations: 4.263 MB / 474.8 MB, free: 28.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1836, allocations: 1.072 MB / 475.9 MB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.1841, allocations: 0.5483 MB / 476.4 MB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.1842, allocations: 39.64 kB / 476.5 MB, free: 27.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1842, allocations: 50.92 kB / 476.5 MB, free: 27.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 2.305e-06/0.1842, allocations: 0 / 476.5 MB, free: 27.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.004739/0.189, allocations: 2.993 MB / 479.5 MB, free: 26.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.189, allocations: 94.7 kB / 479.6 MB, free: 26.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1893, allocations: 419 kB / 480 MB, free: 26.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.1893, allocations: 47.86 kB / 480.1 MB, free: 26.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1895, allocations: 486.2 kB / 480.5 MB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.1896, allocations: 442.3 kB / 481 MB, free: 25.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.1898, allocations: 213.9 kB / 481.2 MB, free: 25.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.1899, allocations: 380.4 kB / 481.6 MB, free: 25.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.1904, allocations: 458.2 kB / 482 MB, free: 24.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.191, allocations: 0.6935 MB / 482.7 MB, free: 24.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.1922, allocations: 1.207 MB / 483.9 MB, free: 23.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1922, allocations: 3.656 kB / 483.9 MB, free: 23.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00178/0.194, allocations: 1.577 MB / 485.5 MB, free: 22.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.194, allocations: 13.34 kB / 485.5 MB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1941, allocations: 6.688 kB / 485.5 MB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008864/0.1949, allocations: 0.5267 MB / 486 MB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.1954, allocations: 199.8 kB / 486.2 MB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.1955, allocations: 55.33 kB / 486.3 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.1958, allocations: 118.2 kB / 486.4 MB, free: 22.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.1958, allocations: 51.17 kB / 486.5 MB, free: 22.62 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.0002538/0.1961, allocations: 274.3 kB / 486.7 MB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.1962, allocations: 77.88 kB / 486.8 MB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1978, allocations: 1.54 MB / 488.3 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1978, allocations: 12.44 kB / 488.3 MB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1978, allocations: 8.047 kB / 488.4 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1978, allocations: 3.75 kB / 488.4 MB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.2004, allocations: 2.498 MB / 490.9 MB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2004, allocations: 5.125 kB / 490.9 MB, free: 20.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.2007, allocations: 150.2 kB / 491 MB, free: 20.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007805/0.2015, allocations: 0.5163 MB / 491.5 MB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.2015, allocations: 27.53 kB / 491.5 MB, free: 20.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001395/0.2017, allocations: 64.05 kB / 491.6 MB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2017, allocations: 0 / 491.6 MB, free: 20.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.2039, allocations: 2.321 MB / 493.9 MB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.2042, allocations: 199.1 kB / 494.1 MB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.2042, allocations: 25.19 kB / 494.2 MB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2045, allocations: 47.47 kB / 494.2 MB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2046, allocations: 84.25 kB / 494.3 MB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.2046, allocations: 34.31 kB / 494.3 MB, free: 18.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.2048, allocations: 274.8 kB / 494.6 MB, free: 18.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2048, allocations: 0 / 494.6 MB, free: 18.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000637/0.2055, allocations: 357.9 kB / 494.9 MB, free: 18.54 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.0002275/0.2057, allocations: 164.2 kB / 495.1 MB, free: 18.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2074, allocations: 1.279 MB / 496.4 MB, free: 17.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2074, allocations: 1.875 kB / 496.4 MB, free: 17.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.2083, allocations: 0.6808 MB / 497.1 MB, free: 17.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2088, allocations: 97.75 kB / 497.2 MB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.211, allocations: 2.088 MB / 499.2 MB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.2114, allocations: 457.3 kB / 499.7 MB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.2116, allocations: 78.55 kB / 499.8 MB, free: 16.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2116, allocations: 0 / 499.8 MB, free: 16.4 MB / 410.7 MB Notification: Performance of Templates: time 0.01464/0.2262, allocations: 17.22 MB / 0.5049 GB, free: 6.523 MB / 410.7 MB " [Timeout remaining time 660] 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: 5.054290072992444]