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.001193/0.001193, allocations: 105 kB / 20.44 MB, free: 1.504 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.001309/0.001309, allocations: 215.4 kB / 23.76 MB, free: 4.727 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.293/1.293, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 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.1991/0.1991, allocations: 44.24 MB / 331 MB, free: 9.512 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.002161/0.002161, allocations: 75.89 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1206, allocations: 61.03 MB / 0.5173 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001544/0.1222, allocations: 497.8 kB / 0.5178 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1235, allocations: 0.878 MB / 0.5187 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.1235, allocations: 4 kB / 0.5187 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1235, allocations: 0 / 0.5187 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1237, allocations: 3.938 kB / 0.5187 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.1243, allocations: 60.89 kB / 0.5187 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.1244, allocations: 8 kB / 0.5188 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.1244, allocations: 0 / 0.5188 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1244, allocations: 4 kB / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.1245, allocations: 0 / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1245, allocations: 0 / 0.5188 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1246, allocations: 63.92 kB / 0.5188 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.1247, allocations: 7.938 kB / 0.5188 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.1247, allocations: 0 / 0.5188 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1248, allocations: 47.88 kB / 0.5189 GB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1248, allocations: 0 / 0.5189 GB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1248, allocations: 0 / 0.5189 GB, free: 5.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1248, allocations: 0 / 0.5189 GB, free: 5.301 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.0003476/0.1252, allocations: 283.9 kB / 0.5191 GB, free: 4.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1252, allocations: 12.03 kB / 0.5192 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1252, allocations: 4.875 kB / 0.5192 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1253, allocations: 114.5 kB / 0.5193 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1254, allocations: 4.375 kB / 0.5193 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1254, allocations: 4.375 kB / 0.5193 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.1254, allocations: 30.27 kB / 0.5193 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1255, allocations: 192 / 0.5193 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1255, allocations: 7.875 kB / 0.5193 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1255, allocations: 4 kB / 0.5193 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.1255, allocations: 7.984 kB / 0.5193 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.1256, allocations: 112.8 kB / 0.5194 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.46e-05/0.1257, allocations: 26.55 kB / 0.5195 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.1257, allocations: 4.859 kB / 0.5195 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-06/0.1257, allocations: 0 / 0.5195 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.1257, allocations: 64.33 kB / 0.5195 GB, free: 4.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1257, allocations: 0 / 0.5195 GB, free: 4.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001764/0.1259, allocations: 67.33 kB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.126, allocations: 77.11 kB / 0.5197 GB, free: 4.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.126, allocations: 93.98 kB / 0.5197 GB, free: 4.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1261, allocations: 25.7 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1261, allocations: 92.08 kB / 0.5199 GB, free: 4.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.1261, allocations: 3.984 kB / 0.5199 GB, free: 4.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1261, allocations: 9.719 kB / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1263, allocations: 310.8 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1263, allocations: 4 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.1263, allocations: 4.125 kB / 0.5202 GB, free: 3.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.1263, allocations: 64.27 kB / 0.5202 GB, free: 3.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1263, allocations: 0 / 0.5202 GB, free: 3.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.019e-05/0.1264, allocations: 63.39 kB / 0.5203 GB, free: 3.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.1264, allocations: 29.7 kB / 0.5203 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1264, allocations: 3.938 kB / 0.5203 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1265, allocations: 0 / 0.5203 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.1265, allocations: 4 kB / 0.5203 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1265, allocations: 3.938 kB / 0.5203 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.1265, allocations: 4.094 kB / 0.5203 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1265, allocations: 0 / 0.5203 GB, free: 3.555 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 8.81e-05/0.1266, allocations: 143.5 kB / 0.5205 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.1266, allocations: 3.938 kB / 0.5205 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.396e-06/0.1266, allocations: 6.938 kB / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1266, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1266, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1266, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1267, allocations: 124.7 kB / 0.5206 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.1267, allocations: 4 kB / 0.5206 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/0.1267, allocations: 3.984 kB / 0.5206 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.1267, allocations: 0 / 0.5206 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.1267, allocations: 3.938 kB / 0.5206 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1267, allocations: 4 kB / 0.5206 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1267, allocations: 0 / 0.5206 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.77e-05/0.1268, allocations: 94.77 kB / 0.5207 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-06/0.1268, allocations: 0 / 0.5207 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1268, allocations: 7.969 kB / 0.5207 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-06/0.1268, allocations: 7.938 kB / 0.5207 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-06/0.1268, allocations: 0 / 0.5207 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1268, allocations: 4 kB / 0.5207 GB, free: 3.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.1269, allocations: 75.28 kB / 0.5208 GB, free: 3 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1269, allocations: 0 / 0.5208 GB, free: 3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.1271, allocations: 19.94 kB / 0.5208 GB, free: 2.98 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.0004447/0.1275, allocations: 187 kB / 0.521 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1276, allocations: 55.41 kB / 0.5211 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1276, allocations: 0 / 0.5211 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.1277, allocations: 55.47 kB / 0.5211 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1278, allocations: 14.23 kB / 0.5211 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.128, allocations: 114.6 kB / 0.5212 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1283, allocations: 0.6728 MB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.1283, allocations: 7.438 kB / 0.5219 GB, free: 1.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1283, allocations: 3.938 kB / 0.5219 GB, free: 1.805 MB / 398.1 MB Notification: Performance of Templates: time 0.002367/0.1307, allocations: 0.8194 MB / 0.5227 GB, free: 0.9844 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: 6.593965386971831]