Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.001928/0.001928, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002086/0.002086, allocations: 172.2 kB / 25.03 MB, free: 8.418 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 1.536/1.536, allocations: 158.6 MB / 186.9 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 250.3 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.428e-05, allocations: 2.312 kB / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001745/0.00178, allocations: 0.4943 MB / 250.8 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000258/0.002038, allocations: 55.81 kB / 250.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.002068, allocations: 0 / 250.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.002109, allocations: 0 / 250.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.002191, allocations: 23.89 kB / 250.9 MB, free: 3.398 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.002343, allocations: 15.94 kB / 250.9 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002464, allocations: 31.97 kB / 251 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.002503, allocations: 3.984 kB / 251 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.00256, allocations: 15.92 kB / 251 MB, free: 3.332 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.002651, allocations: 27.97 kB / 251 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.002668, allocations: 0 / 251 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-05/0.002724, allocations: 8 kB / 251 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.00277, allocations: 3.984 kB / 251 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.002804, allocations: 7.938 kB / 251 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.002928, allocations: 31.91 kB / 251 MB, free: 3.254 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.00293, allocations: 0 / 251 MB, free: 3.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002931, allocations: 4 kB / 251.1 MB, free: 3.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.002935, allocations: 0 / 251.1 MB, free: 3.25 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005256/0.003461, allocations: 390 kB / 251.4 MB, free: 2.824 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.00351, allocations: 15.98 kB / 251.4 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.003559, allocations: 0.9375 kB / 251.4 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.0037, allocations: 116.6 kB / 251.6 MB, free: 2.668 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.003713, allocations: 4.312 kB / 251.6 MB, free: 2.664 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.003725, allocations: 4.375 kB / 251.6 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.003865, allocations: 67.95 kB / 251.6 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.003875, allocations: 192 / 251.6 MB, free: 2.582 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.003887, allocations: 4.359 kB / 251.6 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003892, allocations: 4.375 kB / 251.6 MB, free: 2.574 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.003942, allocations: 37.64 kB / 251.7 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.004119, allocations: 120.7 kB / 251.8 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.004221, allocations: 60.7 kB / 251.9 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.004286, allocations: 45.45 kB / 251.9 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.004298, allocations: 0 / 251.9 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.533e-05/0.004373, allocations: 67.09 kB / 252 MB, free: 2.164 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004374, allocations: 0 / 252 MB, free: 2.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003359/0.00471, allocations: 158.7 kB / 252.1 MB, free: 1.984 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.004784, allocations: 85.05 kB / 252.2 MB, free: 1.883 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.004945, allocations: 177.9 kB / 252.4 MB, free: 1.691 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.004967, allocations: 25.7 kB / 252.4 MB, free: 1.66 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.005056, allocations: 134.9 kB / 252.5 MB, free: 1.523 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.005077, allocations: 11.83 kB / 252.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.005129, allocations: 31.36 kB / 252.6 MB, free: 1.473 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.005419, allocations: 0.4884 MB / 253.1 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.022e-05/0.00546, allocations: 29.7 kB / 253.1 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.005496, allocations: 33.69 kB / 253.1 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.005596, allocations: 87.08 kB / 253.2 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005598, allocations: 0 / 253.2 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000148/0.005746, allocations: 117.1 kB / 253.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.005791, allocations: 29.7 kB / 253.4 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005795, allocations: 0 / 253.4 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.005809, allocations: 4 kB / 253.4 MB, free: 0.625 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.307e-06/0.005812, allocations: 3.984 kB / 253.4 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005817, allocations: 3.938 kB / 253.4 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.005838, allocations: 3.938 kB / 253.4 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.005849, allocations: 4 kB / 253.4 MB, free: 0.6094 MB / 234.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: 4 (success4,success3,success2,success1) * 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 0.0001445/0.005993, allocations: 186.3 kB / 253.6 MB, free: 420 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.006011, allocations: 7.953 kB / 253.6 MB, free: 412 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.006033, allocations: 12.02 kB / 253.6 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.006035, allocations: 4 kB / 253.6 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.006038, allocations: 0 / 253.6 MB, free: 392 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.006043, allocations: 3.938 kB / 253.6 MB, free: 388 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.006173, allocations: 120.6 kB / 253.7 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006174, allocations: 0 / 253.7 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.006174, allocations: 0 / 253.7 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006175, allocations: 0 / 253.7 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.006188, allocations: 4 kB / 253.7 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006189, allocations: 0 / 253.7 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00619, allocations: 0 / 253.7 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.00642, allocations: 179.9 kB / 253.9 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.006455, allocations: 16.16 kB / 253.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.006471, allocations: 0 / 253.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.006486, allocations: 4.25 kB / 253.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.006504, allocations: 3.938 kB / 253.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.00652, allocations: 11.98 kB / 253.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.006607, allocations: 127.2 kB / 254 MB, free: 15.85 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006607, allocations: 0 / 254 MB, free: 15.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.006801, allocations: 11.75 kB / 254.1 MB, free: 15.84 MB / 250.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: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * 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.000458/0.007259, allocations: 137.3 kB / 254.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.007466, allocations: 146.5 kB / 254.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.007468, allocations: 0 / 254.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.007574, allocations: 112.8 kB / 254.4 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.007711, allocations: 4 kB / 254.4 MB, free: 15.4 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.00803, allocations: 159.9 kB / 254.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.008113, allocations: 63.34 kB / 254.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.242e-06/0.008119, allocations: 128 / 254.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.008136, allocations: 12.5 kB / 254.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008136, allocations: 0 / 254.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of Templates: time 0.003594/0.01173, allocations: 0.6866 MB / 255.4 MB, free: 14.43 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.601386221009307]