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.001858/0.001858, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 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.002249/0.002249, allocations: 210 kB / 23.74 MB, free: 4.445 MB / 14.72 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 1.482/1.482, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2209/0.2209, allocations: 44.25 MB / 331.1 MB, free: 9.328 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 68.42 kB / 468.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1217, allocations: 61.04 MB / 0.5173 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.00172/0.1234, allocations: 0.4909 MB / 0.5178 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1248, allocations: 0.8702 MB / 0.5187 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.1248, allocations: 4 kB / 0.5187 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.1248, allocations: 0 / 0.5187 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.125, allocations: 11.94 kB / 0.5187 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1257, allocations: 51.83 kB / 0.5187 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.1258, allocations: 7.938 kB / 0.5188 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.1258, allocations: 3.984 kB / 0.5188 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.1258, allocations: 3.938 kB / 0.5188 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.1259, allocations: 11.98 kB / 0.5188 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-06/0.1259, allocations: 0 / 0.5188 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.126, allocations: 47.95 kB / 0.5188 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.126, allocations: 4 kB / 0.5188 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.126, allocations: 0 / 0.5188 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1262, allocations: 47.88 kB / 0.5189 GB, free: 5.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1262, allocations: 0 / 0.5189 GB, free: 5.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1262, allocations: 3.938 kB / 0.5189 GB, free: 5.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1262, allocations: 0 / 0.5189 GB, free: 5.152 MB / 398.1 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.000367/0.1266, allocations: 287.9 kB / 0.5191 GB, free: 4.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1266, allocations: 12.03 kB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1267, allocations: 0.9375 kB / 0.5192 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1268, allocations: 110.5 kB / 0.5193 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1268, allocations: 384 / 0.5193 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1268, allocations: 8.375 kB / 0.5193 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.1269, allocations: 55.91 kB / 0.5193 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1269, allocations: 192 / 0.5193 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1269, allocations: 7.938 kB / 0.5193 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1269, allocations: 0 / 0.5193 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.1269, allocations: 29.7 kB / 0.5194 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1271, allocations: 105.3 kB / 0.5195 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.73e-05/0.1271, allocations: 40.28 kB / 0.5195 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.1272, allocations: 34.66 kB / 0.5195 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.1272, allocations: 3.938 kB / 0.5195 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.1272, allocations: 64.27 kB / 0.5196 GB, free: 4.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1272, allocations: 0 / 0.5196 GB, free: 4.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000217/0.1274, allocations: 126.7 kB / 0.5197 GB, free: 4.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1275, allocations: 77.11 kB / 0.5198 GB, free: 4.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.1276, allocations: 93.86 kB / 0.5199 GB, free: 3.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1276, allocations: 25.7 kB / 0.5199 GB, free: 3.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.1276, allocations: 84.14 kB / 0.52 GB, free: 3.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1276, allocations: 0 / 0.52 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1277, allocations: 9.719 kB / 0.52 GB, free: 3.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1278, allocations: 319.1 kB / 0.5203 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.1278, allocations: 29.7 kB / 0.5203 GB, free: 3.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.1279, allocations: 29.64 kB / 0.5204 GB, free: 3.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.1279, allocations: 68.27 kB / 0.5204 GB, free: 3.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1279, allocations: 3.938 kB / 0.5204 GB, free: 3.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.883e-05/0.128, allocations: 89.09 kB / 0.5205 GB, free: 3.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.1281, allocations: 34.64 kB / 0.5205 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1281, allocations: 0 / 0.5205 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1281, allocations: 3.938 kB / 0.5205 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.1281, allocations: 96 / 0.5205 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1281, allocations: 4 kB / 0.5205 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.1281, allocations: 0 / 0.5205 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1281, allocations: 4 kB / 0.5206 GB, free: 3.148 MB / 398.1 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 9.857e-05/0.1282, allocations: 139.5 kB / 0.5207 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.1282, allocations: 3.938 kB / 0.5207 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-06/0.1282, allocations: 7 kB / 0.5207 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1282, allocations: 3.938 kB / 0.5207 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1282, allocations: 0 / 0.5207 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1282, allocations: 0 / 0.5207 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.937e-05/0.1283, allocations: 97.28 kB / 0.5208 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1283, allocations: 8 kB / 0.5208 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.1283, allocations: 3.938 kB / 0.5208 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1283, allocations: 3.984 kB / 0.5208 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1283, allocations: 3.984 kB / 0.5208 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1283, allocations: 0 / 0.5208 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1283, allocations: 3.938 kB / 0.5208 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1284, allocations: 112.5 kB / 0.5209 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.1285, allocations: 7.984 kB / 0.5209 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1285, allocations: 0 / 0.5209 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.1285, allocations: 0 / 0.5209 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1285, allocations: 11.97 kB / 0.5209 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1285, allocations: 4 kB / 0.5209 GB, free: 2.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.1285, allocations: 75.28 kB / 0.521 GB, free: 2.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1285, allocations: 3.938 kB / 0.521 GB, free: 2.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1288, allocations: 15.94 kB / 0.521 GB, free: 2.578 MB / 398.1 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.0004431/0.1292, allocations: 190.2 kB / 0.5212 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1293, allocations: 114.8 kB / 0.5213 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1293, allocations: 0 / 0.5213 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.1294, allocations: 85.09 kB / 0.5214 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1295, allocations: 6.484 kB / 0.5214 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.1297, allocations: 136.3 kB / 0.5215 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.235e-05/0.1298, allocations: 59.47 kB / 0.5216 GB, free: 1.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.1298, allocations: 11.44 kB / 0.5216 GB, free: 1.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1298, allocations: 0 / 0.5216 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Templates: time 0.002525/0.1323, allocations: 0.8269 MB / 0.5224 GB, free: 1.07 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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: 7.56831265706569]