Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001026/0.001026, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001126/0.001126, allocations: 167.6 kB / 24.84 MB, free: 9.297 MB / 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.8633/0.8633, allocations: 158.6 MB / 186.7 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.1374/0.1374, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 348.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.371e-05, allocations: 6.25 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001088/0.001112, allocations: 0.4965 MB / 349.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.001497, allocations: 255.2 kB / 349.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.001518, allocations: 4 kB / 349.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.001533, allocations: 0 / 349.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.001538, allocations: 0 / 349.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.001791, allocations: 59.62 kB / 349.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.001837, allocations: 8 kB / 349.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.00187, allocations: 3.984 kB / 349.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.001895, allocations: 0 / 349.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.613e-05/0.001921, allocations: 0 / 349.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.00193, allocations: 0 / 349.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.00204, allocations: 63.89 kB / 349.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.002048, allocations: 0 / 349.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.002064, allocations: 7.984 kB / 349.8 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002165, allocations: 55.88 kB / 349.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.002168, allocations: 7.922 kB / 349.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.002169, allocations: 0 / 349.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.002173, allocations: 0 / 349.8 MB, free: 8.242 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001981/0.002371, allocations: 385.9 kB / 350.2 MB, free: 7.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.002405, allocations: 8.031 kB / 350.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.002429, allocations: 0.9375 kB / 350.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.717e-05/0.002466, allocations: 108.6 kB / 350.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.002475, allocations: 4.312 kB / 350.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-06/0.002481, allocations: 384 / 350.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.14e-05/0.002532, allocations: 59.97 kB / 350.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.002538, allocations: 192 / 350.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.002543, allocations: 384 / 350.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.002546, allocations: 384 / 350.4 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.123e-05/0.002558, allocations: 37.62 kB / 350.4 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.096e-05/0.002608, allocations: 97.25 kB / 350.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.041e-05/0.002639, allocations: 60.73 kB / 350.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.00265, allocations: 37.39 kB / 350.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.002653, allocations: 0 / 350.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.002673, allocations: 63.16 kB / 350.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002673, allocations: 4 kB / 350.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.002845, allocations: 114.8 kB / 350.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.002867, allocations: 77.11 kB / 350.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.162e-05/0.002889, allocations: 142.2 kB / 351 MB, free: 6.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.002894, allocations: 25.7 kB / 351 MB, free: 6.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.009e-05/0.002904, allocations: 126.9 kB / 351.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.002919, allocations: 4 kB / 351.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.002941, allocations: 23.3 kB / 351.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.002981, allocations: 0.4922 MB / 351.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.002989, allocations: 29.83 kB / 351.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.002997, allocations: 29.7 kB / 351.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.003027, allocations: 63.09 kB / 351.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003028, allocations: 0 / 351.8 MB, free: 6.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.142e-05/0.00307, allocations: 89.09 kB / 351.9 MB, free: 5.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.00309, allocations: 29.7 kB / 351.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.003094, allocations: 0 / 351.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.003101, allocations: 0 / 351.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.003102, allocations: 4 kB / 351.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.003105, allocations: 0 / 351.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.003116, allocations: 8.375 kB / 351.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.003122, allocations: 0 / 351.9 MB, free: 5.852 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.003181, allocations: 190.2 kB / 352.1 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.003188, allocations: 4 kB / 352.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.069e-05/0.003198, allocations: 3 kB / 352.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.003201, allocations: 3.984 kB / 352.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.003204, allocations: 0 / 352.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.003207, allocations: 4 kB / 352.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.237e-05/0.003249, allocations: 101.1 kB / 352.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00325, allocations: 0 / 352.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.003251, allocations: 4 kB / 352.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003251, allocations: 0 / 352.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.003257, allocations: 4 kB / 352.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.003258, allocations: 0 / 352.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.003259, allocations: 0 / 352.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.085e-05/0.00332, allocations: 127.8 kB / 352.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-06/0.003324, allocations: 0 / 352.4 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.003334, allocations: 11.92 kB / 352.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-06/0.003338, allocations: 0 / 352.4 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.003347, allocations: 4 kB / 352.4 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.003349, allocations: 4 kB / 352.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.003364, allocations: 123.2 kB / 352.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003364, allocations: 0 / 352.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.003514, allocations: 19.94 kB / 352.5 MB, free: 5.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004554/0.003969, allocations: 304.5 kB / 352.8 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.004037, allocations: 122.5 kB / 352.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.004038, allocations: 0 / 352.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.004054, allocations: 88.8 kB / 353 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.277e-05/0.004147, allocations: 7.938 kB / 353 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.004289, allocations: 117.7 kB / 353.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.825e-05/0.004307, allocations: 55.3 kB / 353.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.771e-06/0.004313, allocations: 0 / 353.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.00434, allocations: 74.2 kB / 353.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.004341, allocations: 0 / 353.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of Templates: time 0.002691/0.007032, allocations: 0.9361 MB / 354.2 MB, free: 3.453 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.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.012878504116088]