Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 164.4 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9883/0.9883, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.729e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.00106/0.001077, allocations: 0.5398 MB / 273.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002268/0.001304, allocations: 63.73 kB / 274 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.001333, allocations: 0 / 274 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.001367, allocations: 4 kB / 274 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.001447, allocations: 11.92 kB / 274 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.001601, allocations: 27.91 kB / 274 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.001684, allocations: 15.98 kB / 274 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.001723, allocations: 4 kB / 274 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.001767, allocations: 23.91 kB / 274.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.001835, allocations: 15.98 kB / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.001852, allocations: 0 / 274.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.001892, allocations: 11.98 kB / 274.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.001927, allocations: 0 / 274.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.001951, allocations: 7.938 kB / 274.1 MB, free: 496 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.568e-05/0.002047, allocations: 31.91 kB / 274.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.002049, allocations: 4 kB / 274.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.002049, allocations: 0 / 274.1 MB, free: 460 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.002053, allocations: 0 / 274.1 MB, free: 460 kB / 250.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.0002472/0.002301, allocations: 262.6 kB / 274.4 MB, free: 164 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.002335, allocations: 11.98 kB / 274.4 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.002362, allocations: 8.922 kB / 274.4 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.002443, allocations: 113.7 kB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.002453, allocations: 384 / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.00246, allocations: 4.375 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.002546, allocations: 62.78 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.002553, allocations: 192 / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.00256, allocations: 8.375 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.002565, allocations: 384 / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.954e-05/0.002584, allocations: 37.62 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.876e-05/0.002653, allocations: 59.88 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.002704, allocations: 56.2 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.002726, allocations: 46.67 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-06/0.00273, allocations: 0 / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.002762, allocations: 56.27 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.002763, allocations: 0 / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001243/0.002888, allocations: 138.7 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.002923, allocations: 81.14 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.003062, allocations: 122.6 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.003072, allocations: 25.7 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.003098, allocations: 88.12 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.003114, allocations: 7.891 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.003138, allocations: 13.72 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.003222, allocations: 326.8 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.003241, allocations: 32.53 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.003259, allocations: 29.7 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.003305, allocations: 79.06 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003307, allocations: 0 / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.613e-05/0.003373, allocations: 105.1 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.003402, allocations: 29.7 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.003408, allocations: 3.938 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.003418, allocations: 0 / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.003421, allocations: 4 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.003425, allocations: 3.984 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.003437, allocations: 0 / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.003443, allocations: 0 / 275.9 MB, free: 14.4 MB / 266.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 6.793e-05/0.003511, allocations: 146.3 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.00352, allocations: 7.984 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.003531, allocations: 8.031 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.003533, allocations: 0 / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.003535, allocations: 4 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003537, allocations: 0 / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.131e-05/0.003589, allocations: 73.83 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003589, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.003589, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.00359, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.003597, allocations: 7.984 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.003598, allocations: 0 / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.003598, allocations: 0 / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.003681, allocations: 146 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.003689, allocations: 7.953 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.0037, allocations: 0 / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.003707, allocations: 8.188 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.003717, allocations: 0 / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.003721, allocations: 4.188 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.003735, allocations: 16.84 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003735, allocations: 0 / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001001/0.003835, allocations: 12 kB / 276.4 MB, free: 13.9 MB / 266.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.0002287/0.004064, allocations: 117.8 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.004167, allocations: 135.6 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.004171, allocations: 0 / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.004212, allocations: 105.9 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.074e-05/0.004273, allocations: 7.938 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001726/0.004446, allocations: 151.9 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.004475, allocations: 55.48 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.049e-06/0.00448, allocations: 4 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.004546, allocations: 71.34 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004547, allocations: 0 / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002121/0.006667, allocations: 0.7349 MB / 277.7 MB, free: 12.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.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.522989667020738]