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.001571/0.001571, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001724/0.001724, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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 1.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.182e-05, allocations: 2.312 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001405/0.001427, allocations: 491.7 kB / 272.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.001683, allocations: 64.38 kB / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.001713, allocations: 0 / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.001752, allocations: 0 / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.001824, allocations: 15.92 kB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.001995, allocations: 31.91 kB / 272.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.002075, allocations: 15.98 kB / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.922e-05/0.002104, allocations: 0 / 272.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.002155, allocations: 23.91 kB / 272.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.002231, allocations: 23.97 kB / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.002247, allocations: 0 / 272.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.002291, allocations: 8 kB / 272.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.00233, allocations: 0 / 272.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.002366, allocations: 7.938 kB / 272.8 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.002466, allocations: 31.91 kB / 272.9 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002468, allocations: 4 kB / 272.9 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002468, allocations: 0 / 272.9 MB, free: 1.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.002472, allocations: 0 / 272.9 MB, free: 1.145 MB / 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.0003908/0.002863, allocations: 291.9 kB / 273.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.002907, allocations: 11.98 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.002953, allocations: 8.891 kB / 273.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.003072, allocations: 105.8 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.003085, allocations: 384 / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.003096, allocations: 4.375 kB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003238, allocations: 87.94 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.003245, allocations: 192 / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.003256, allocations: 8.375 kB / 273.4 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.00326, allocations: 384 / 273.4 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.003332, allocations: 65.56 kB / 273.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.003468, allocations: 101.4 kB / 273.5 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.00357, allocations: 72.27 kB / 273.6 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.003637, allocations: 62.62 kB / 273.7 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.003646, allocations: 0 / 273.7 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.003703, allocations: 60.27 kB / 273.7 MB, free: 136 kB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.003704, allocations: 0 / 273.7 MB, free: 136 kB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.004132, allocations: 250.6 kB / 274 MB, free: 15.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.004211, allocations: 89.08 kB / 274.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.004352, allocations: 125.8 kB / 274.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.004376, allocations: 25.7 kB / 274.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.004446, allocations: 84.14 kB / 274.3 MB, free: 15.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.004471, allocations: 7.891 kB / 274.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.004516, allocations: 21.72 kB / 274.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.004714, allocations: 314.8 kB / 274.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.00479, allocations: 57.69 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.004849, allocations: 53.69 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.004984, allocations: 120.2 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004985, allocations: 0 / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002353/0.005221, allocations: 189 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.005275, allocations: 33.69 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.005281, allocations: 0 / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.005302, allocations: 4 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.005304, allocations: 0 / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.005311, allocations: 0 / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.005335, allocations: 3.938 kB / 275.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.005347, allocations: 4 kB / 275.1 MB, free: 14.65 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 0.000131/0.005478, allocations: 147.5 kB / 275.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.005496, allocations: 7.953 kB / 275.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.005516, allocations: 12.03 kB / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005517, allocations: 0 / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.005522, allocations: 0 / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.005528, allocations: 3.938 kB / 275.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.005646, allocations: 109.3 kB / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005647, allocations: 0 / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.005648, allocations: 0 / 275.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005649, allocations: 3.938 kB / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.005675, allocations: 7.984 kB / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005676, allocations: 0 / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005677, allocations: 0 / 275.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.006092, allocations: 232.4 kB / 275.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.006101, allocations: 4 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.006115, allocations: 0 / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.00613, allocations: 4.25 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.006146, allocations: 3.938 kB / 275.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.006154, allocations: 4 kB / 275.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.006225, allocations: 95.27 kB / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006225, allocations: 0 / 275.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.006423, allocations: 11.94 kB / 275.7 MB, free: 13.94 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.0003682/0.006791, allocations: 129.7 kB / 275.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.007023, allocations: 186.7 kB / 276 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007024, allocations: 0 / 276 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.007128, allocations: 113.1 kB / 276.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007275, allocations: 7.281 kB / 276.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.007613, allocations: 190.2 kB / 276.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.007683, allocations: 67.38 kB / 276.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.007689, allocations: 4 kB / 276.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.007708, allocations: 8.5 kB / 276.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.007708, allocations: 0 / 276.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Templates: time 0.003157/0.01087, allocations: 0.6882 MB / 277.1 MB, free: 12.47 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.2721172330202535]