Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.001387/0.001387, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001544/0.001544, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 47.92 kB / 373.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.115, allocations: 53.33 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001607/0.1167, allocations: 0.5269 MB / 427.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1191, allocations: 1.859 MB / 429.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1192, allocations: 0 / 429.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.1215, allocations: 170.4 kB / 429.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.1216, allocations: 19.98 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1217, allocations: 43.88 kB / 429.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.1218, allocations: 43.89 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1219, allocations: 15.98 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.122, allocations: 35.8 kB / 429.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.529e-05/0.122, allocations: 19.91 kB / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1221, allocations: 3.938 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.1221, allocations: 12 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.1222, allocations: 43.91 kB / 429.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.1222, allocations: 19.86 kB / 429.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1224, allocations: 51.7 kB / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1224, allocations: 0 / 429.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1224, allocations: 3.984 kB / 429.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1224, allocations: 8 kB / 429.6 MB, free: 1.469 MB / 350.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.0004919/0.1229, allocations: 396.8 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.123, allocations: 8.031 kB / 430 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.123, allocations: 8.891 kB / 430 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1232, allocations: 204.2 kB / 430.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-06/0.1232, allocations: 384 / 430.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1233, allocations: 384 / 430.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1234, allocations: 78.23 kB / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1234, allocations: 0 / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1234, allocations: 0 / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1234, allocations: 0 / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.1235, allocations: 8 kB / 430.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.1238, allocations: 165.7 kB / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.1238, allocations: 26.58 kB / 430.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1238, allocations: 8.922 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-06/0.1239, allocations: 0 / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.1239, allocations: 68.12 kB / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1239, allocations: 0 / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.124, allocations: 45.59 kB / 430.6 MB, free: 284 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.1242, allocations: 158.2 kB / 430.8 MB, free: 88 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1244, allocations: 155.8 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1244, allocations: 29.7 kB / 431 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1244, allocations: 96.12 kB / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1245, allocations: 0 / 431.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.1245, allocations: 21.67 kB / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1247, allocations: 318.8 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.1247, allocations: 4 kB / 431.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.1248, allocations: 48.22 kB / 431.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.1248, allocations: 16.86 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1248, allocations: 0 / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.81e-05/0.1249, allocations: 41.69 kB / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1249, allocations: 7.938 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1249, allocations: 4 kB / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1249, allocations: 0 / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.723e-05/0.1249, allocations: 0 / 431.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1249, allocations: 12.02 kB / 431.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.125, allocations: 8 kB / 431.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.125, allocations: 0 / 431.5 MB, free: 15.28 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001057/0.1251, allocations: 129.8 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1251, allocations: 11.89 kB / 431.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.1252, allocations: 11.88 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1252, allocations: 3.984 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1252, allocations: 0 / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1252, allocations: 0 / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1254, allocations: 173.7 kB / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1254, allocations: 0 / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.1254, allocations: 0 / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.1254, allocations: 7.938 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1254, allocations: 4 kB / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1254, allocations: 0 / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1254, allocations: 0 / 431.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1256, allocations: 73.11 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.1256, allocations: 93.09 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1256, allocations: 0 / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1257, allocations: 15.92 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.1257, allocations: 0 / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1257, allocations: 3.938 kB / 432.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1258, allocations: 121.1 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1258, allocations: 0 / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.126, allocations: 11.94 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.000361/0.1264, allocations: 154.2 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.1265, allocations: 8 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1265, allocations: 0 / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.1265, allocations: 4.062 kB / 432.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1267, allocations: 12 kB / 432.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.1271, allocations: 245.7 kB / 432.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1274, allocations: 0.7119 MB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.1275, allocations: 4 kB / 433.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.1275, allocations: 23.36 kB / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1275, allocations: 0 / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004135/0.1316, allocations: 1.039 MB / 434.4 MB, free: 12.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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: 4.6003456227481365]