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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 114.5 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 190.1 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 56.39 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07413/0.07543, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.00151/0.07697, allocations: 490.4 kB / 376.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.07723, allocations: 63.77 kB / 376.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.07727, allocations: 0 / 376.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.07731, allocations: 0 / 376.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.07738, allocations: 11.98 kB / 376.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.07754, allocations: 31.91 kB / 376.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.07764, allocations: 23.92 kB / 376.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.07769, allocations: 4 kB / 376.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.07772, allocations: 15.97 kB / 376.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.07779, allocations: 15.98 kB / 376.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.07781, allocations: 0 / 376.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.601e-05/0.07787, allocations: 12 kB / 376.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.07791, allocations: 7.922 kB / 376.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.07794, allocations: 7.938 kB / 376.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.07804, allocations: 27.91 kB / 376.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07805, allocations: 4 kB / 376.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.07806, allocations: 0 / 376.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.07807, allocations: 4 kB / 376.5 MB, free: 3.906 MB / 318.1 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.0003186/0.07839, allocations: 365 kB / 376.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.07843, allocations: 8.031 kB / 376.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.07847, allocations: 4.891 kB / 376.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.07858, allocations: 168.3 kB / 377 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.07859, allocations: 384 / 377 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.07861, allocations: 4.375 kB / 377 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.07872, allocations: 66.23 kB / 377.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.07874, allocations: 192 / 377.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.07875, allocations: 3.938 kB / 377.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.07876, allocations: 0 / 377.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.07881, allocations: 31.98 kB / 377.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.07894, allocations: 153.7 kB / 377.3 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.079, allocations: 46.55 kB / 377.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.07905, allocations: 40.86 kB / 377.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.07906, allocations: 4 kB / 377.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.07911, allocations: 60.27 kB / 377.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.07911, allocations: 0 / 377.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000268/0.07939, allocations: 191.2 kB / 377.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.07944, allocations: 77.11 kB / 377.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.07952, allocations: 113.8 kB / 377.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.07954, allocations: 33.64 kB / 377.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.07959, allocations: 88.12 kB / 377.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.07961, allocations: 7.984 kB / 377.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.07965, allocations: 21.72 kB / 378 MB, free: 2.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.07975, allocations: 310.8 kB / 378.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.07979, allocations: 27.98 kB / 378.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.07983, allocations: 28.23 kB / 378.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.251e-05/0.07992, allocations: 116.2 kB / 378.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.07994, allocations: 8 kB / 378.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.08009, allocations: 151.3 kB / 378.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.08014, allocations: 41.75 kB / 378.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.08015, allocations: 0 / 378.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.08017, allocations: 7.938 kB / 378.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.08018, allocations: 0 / 378.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.08019, allocations: 0 / 378.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.08021, allocations: 3.953 kB / 378.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.08023, allocations: 4 kB / 378.6 MB, free: 1.488 MB / 318.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: 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 8.175e-05/0.08032, allocations: 143.5 kB / 378.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.08033, allocations: 4 kB / 378.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.08036, allocations: 12.03 kB / 378.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.08036, allocations: 0 / 378.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.08037, allocations: 3.984 kB / 378.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.08041, allocations: 85 kB / 378.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.08043, allocations: 7.984 kB / 378.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.08045, allocations: 0 / 378.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.08046, allocations: 8 kB / 378.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002086/0.08068, allocations: 294 kB / 379.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002315/0.08092, allocations: 340.5 kB / 379.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.626e-05/0.08098, allocations: 39.98 kB / 379.6 MB, free: 496 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.08103, allocations: 95.27 kB / 379.7 MB, free: 400 kB / 318.1 MB Notification: Performance of Backend: time 2.91e-07/0.08104, allocations: 0 / 379.7 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.08154, allocations: 204.8 kB / 379.9 MB, free: 180 kB / 318.1 MB Notification: Performance of SimCode: time 0.1414/0.2229, allocations: 0.605 MB / 380.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of Templates: time 0.0029/0.2258, allocations: 0.6838 MB / 381.1 MB, free: 12.54 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches