Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.00152/0.00152, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001503/0.001503, allocations: 169 kB / 23.8 MB, free: 0.7734 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.8911/0.8911, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1301/0.1301, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.441e-05, allocations: 4.281 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.004544/0.004578, allocations: 0.5082 MB / 348.1 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006478, allocations: 1.391 MB / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.006508, allocations: 0 / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.006531, allocations: 0 / 349.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.006761, allocations: 23.86 kB / 349.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.01093, allocations: 273.5 kB / 349.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.01099, allocations: 7.984 kB / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.01103, allocations: 0 / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.01106, allocations: 7.938 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.01111, allocations: 0 / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.01111, allocations: 0 / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006252/0.01737, allocations: 0.9962 MB / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.01738, allocations: 0 / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.0174, allocations: 0 / 350.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.01779, allocations: 219.4 kB / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.0178, allocations: 0 / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.0178, allocations: 0 / 351.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.01781, allocations: 0 / 351.1 MB, free: 6.176 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.0003759/0.01818, allocations: 417.6 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.01823, allocations: 8.031 kB / 351.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.01829, allocations: 0.9375 kB / 351.5 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.01839, allocations: 120.9 kB / 351.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.0184, allocations: 384 / 351.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.01841, allocations: 384 / 351.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.66e-05/0.0185, allocations: 55.97 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01851, allocations: 4.125 kB / 351.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.01852, allocations: 4.125 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.01853, allocations: 0 / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.386e-05/0.01854, allocations: 37.7 kB / 351.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.209e-05/0.01862, allocations: 108.6 kB / 351.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.01867, allocations: 52.8 kB / 351.8 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.01868, allocations: 33.39 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.18e-06/0.01869, allocations: 0 / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01872, allocations: 67.16 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.01872, allocations: 0 / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.0189, allocations: 118.7 kB / 352.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.01893, allocations: 85.05 kB / 352.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.01898, allocations: 158.1 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.01899, allocations: 29.7 kB / 352.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.01901, allocations: 130.9 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.01903, allocations: 0 / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.01905, allocations: 19.38 kB / 352.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.0191, allocations: 492.1 kB / 353 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.01912, allocations: 25.7 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.01914, allocations: 33.64 kB / 353 MB, free: 3.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.01917, allocations: 67.03 kB / 353.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01918, allocations: 4.188 kB / 353.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.807e-05/0.01923, allocations: 93.09 kB / 353.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.01926, allocations: 29.7 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.01926, allocations: 0 / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01928, allocations: 0 / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-06/0.01929, allocations: 7.938 kB / 353.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01929, allocations: 3.984 kB / 353.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.01931, allocations: 4 kB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.01932, allocations: 3.984 kB / 353.2 MB, free: 3.699 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.829e-05/0.01938, allocations: 186.3 kB / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.01938, allocations: 4.031 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.0194, allocations: 3.156 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0194, allocations: 0 / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01941, allocations: 3.938 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01941, allocations: 0 / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.457e-05/0.01946, allocations: 120.5 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01946, allocations: 0 / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.01946, allocations: 0 / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.01946, allocations: 0 / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.01947, allocations: 4 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.01947, allocations: 0 / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01947, allocations: 4 kB / 353.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.937e-05/0.01954, allocations: 135.7 kB / 353.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.01954, allocations: 4 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.01956, allocations: 0 / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-06/0.01956, allocations: 0 / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.01958, allocations: 3.938 kB / 353.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.01958, allocations: 4 kB / 353.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.576e-05/0.0196, allocations: 119.2 kB / 353.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0196, allocations: 0 / 353.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.01981, allocations: 67.8 kB / 353.9 MB, free: 2.965 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.000588/0.0204, allocations: 393 kB / 354.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.02049, allocations: 114.5 kB / 354.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02049, allocations: 4.062 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.02051, allocations: 92.78 kB / 354.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.02062, allocations: 8 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.0208, allocations: 120.1 kB / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.355e-05/0.02082, allocations: 51.36 kB / 354.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.58e-06/0.02083, allocations: 4 kB / 354.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.02084, allocations: 8.5 kB / 354.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02084, allocations: 0 / 354.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.003637/0.02448, allocations: 1.89 MB / 356.5 MB, free: 216 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.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.2476786328479648]