Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.0009789/0.0009789, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001008/0.001008, allocations: 173 kB / 24.06 MB, free: 452 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.9902/0.9902, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1438/0.1438, allocations: 32.37 MB / 270.7 MB, free: 14.55 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.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.382e-05, allocations: 2.312 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001224/0.001248, allocations: 0.5082 MB / 348.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006673/0.001915, allocations: 0.9077 MB / 349.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.00194, allocations: 0 / 349.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.001956, allocations: 0 / 349.5 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.002136, allocations: 7.984 kB / 349.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.002613, allocations: 65.38 kB / 349.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.547e-05/0.002658, allocations: 0 / 349.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.002689, allocations: 7.984 kB / 349.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.002722, allocations: 0 / 349.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.002758, allocations: 7.984 kB / 349.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.002767, allocations: 0 / 349.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.00288, allocations: 51.95 kB / 349.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.00289, allocations: 7.938 kB / 349.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.002905, allocations: 0 / 349.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.003035, allocations: 59.8 kB / 349.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003037, allocations: 0 / 349.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003038, allocations: 0 / 349.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.003042, allocations: 4 kB / 349.7 MB, free: 7.59 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.0001782/0.003221, allocations: 377.9 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.003254, allocations: 8.031 kB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.003276, allocations: 4.938 kB / 350.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.528e-05/0.003321, allocations: 108.6 kB / 350.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.003329, allocations: 384 / 350.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-06/0.003334, allocations: 384 / 350.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.077e-05/0.003395, allocations: 63.94 kB / 350.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.003401, allocations: 192 / 350.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.003406, allocations: 4.375 kB / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003411, allocations: 384 / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-06/0.00342, allocations: 37.58 kB / 350.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.927e-05/0.00348, allocations: 93.27 kB / 350.4 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.655e-05/0.003506, allocations: 56.78 kB / 350.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-06/0.003516, allocations: 41.31 kB / 350.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-06/0.003519, allocations: 0 / 350.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.003542, allocations: 67.16 kB / 350.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.003543, allocations: 0 / 350.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.003658, allocations: 118.8 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.003677, allocations: 81.09 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.711e-05/0.003714, allocations: 154.3 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-06/0.003718, allocations: 25.95 kB / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.172e-05/0.00373, allocations: 134.9 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.003744, allocations: 3.953 kB / 351.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.003763, allocations: 19.38 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.003802, allocations: 0.4883 MB / 351.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.003809, allocations: 25.7 kB / 351.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-06/0.003817, allocations: 33.69 kB / 351.6 MB, free: 5.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.003836, allocations: 63.09 kB / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.003838, allocations: 0 / 351.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.866e-05/0.003877, allocations: 93.05 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.003896, allocations: 37.78 kB / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.003901, allocations: 0 / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.003911, allocations: 0 / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.003912, allocations: 0 / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.003914, allocations: 0 / 351.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.003923, allocations: 4 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003928, allocations: 3.938 kB / 351.8 MB, free: 5.172 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 3.774e-05/0.003966, allocations: 178.3 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-06/0.00397, allocations: 4 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.2e-05/0.003982, allocations: 3 kB / 352 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.003983, allocations: 4 kB / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.003985, allocations: 0 / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.003987, allocations: 0 / 352 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.008e-05/0.004027, allocations: 101.2 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004028, allocations: 0 / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.004028, allocations: 0 / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.004029, allocations: 0 / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-06/0.004033, allocations: 0 / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.004033, allocations: 7.938 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004034, allocations: 3.938 kB / 352.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.358e-05/0.004088, allocations: 131.8 kB / 352.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.004092, allocations: 4.031 kB / 352.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.004103, allocations: 4 kB / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-06/0.004108, allocations: 0 / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-06/0.004115, allocations: 0 / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.004116, allocations: 0 / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.347e-05/0.00413, allocations: 123.2 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00413, allocations: 4 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.004267, allocations: 19.92 kB / 352.4 MB, free: 4.516 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.0002803/0.004547, allocations: 206.8 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.451e-05/0.004622, allocations: 122.4 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.004623, allocations: 0 / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.004639, allocations: 92.86 kB / 352.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.642e-05/0.004736, allocations: 10.44 kB / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001247/0.00486, allocations: 119 kB / 352.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.642e-05/0.004877, allocations: 51.36 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.97e-06/0.004882, allocations: 0 / 353 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.004909, allocations: 74.19 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00491, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of Templates: time 0.002041/0.006951, allocations: 0.7668 MB / 353.8 MB, free: 3.012 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.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: 2.980312786065042]