Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 90.22 kB / 16.31 MB, free: 6.461 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.001366/0.001366, allocations: 184.7 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 5.688 kB / 300.8 MB, free: 6.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09551, allocations: 50.43 MB / 351.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005386/0.09609, allocations: 241.9 kB / 351.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.09813, allocations: 1.736 MB / 353.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.09819, allocations: 0 / 353.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.09939, allocations: 91.8 kB / 353.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.09947, allocations: 31.91 kB / 353.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.09966, allocations: 43.92 kB / 353.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.09974, allocations: 31.86 kB / 353.4 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.09978, allocations: 8.266 kB / 353.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.09984, allocations: 27.86 kB / 353.4 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.09996, allocations: 42.39 kB / 353.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.09999, allocations: 0 / 353.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.1, allocations: 16 kB / 353.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.1001, allocations: 51.89 kB / 353.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.1002, allocations: 33.7 kB / 353.6 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.1003, allocations: 43.81 kB / 353.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1003, allocations: 0 / 353.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1003, allocations: 0 / 353.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1003, allocations: 0 / 353.6 MB, free: 9.48 MB / 286.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.0003812/0.1007, allocations: 384.9 kB / 354 MB, free: 9.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1007, allocations: 8.031 kB / 354 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1008, allocations: 11.86 kB / 354 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.101, allocations: 214.9 kB / 354.2 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.101, allocations: 3.938 kB / 354.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1011, allocations: 0 / 354.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1012, allocations: 69.98 kB / 354.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1012, allocations: 0 / 354.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1012, allocations: 0 / 354.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1012, allocations: 0 / 354.3 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.1013, allocations: 15.89 kB / 354.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.1016, allocations: 177.6 kB / 354.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.1016, allocations: 22.58 kB / 354.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.1016, allocations: 8.859 kB / 354.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.1017, allocations: 8.062 kB / 354.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1017, allocations: 56.27 kB / 354.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1017, allocations: 0 / 354.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.1018, allocations: 49.53 kB / 354.6 MB, free: 8.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.1019, allocations: 154.2 kB / 354.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1021, allocations: 170 kB / 354.9 MB, free: 7.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1021, allocations: 25.7 kB / 355 MB, free: 7.879 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1022, allocations: 100.2 kB / 355.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.1022, allocations: 0 / 355.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.1022, allocations: 0 / 355.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1023, allocations: 318.8 kB / 355.4 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.1023, allocations: 7.984 kB / 355.4 MB, free: 7.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.1024, allocations: 32.3 kB / 355.4 MB, free: 7.402 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.1024, allocations: 16.05 kB / 355.4 MB, free: 7.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1024, allocations: 3.938 kB / 355.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.875e-05/0.1025, allocations: 49.55 kB / 355.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1025, allocations: 5.562 kB / 355.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1025, allocations: 0 / 355.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1025, allocations: 0 / 355.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.043e-05/0.1026, allocations: 4.047 kB / 355.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1026, allocations: 7.984 kB / 355.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.1027, allocations: 7.984 kB / 355.5 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1027, allocations: 7.953 kB / 355.5 MB, free: 7.297 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.193e-05/0.1028, allocations: 129.9 kB / 355.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.1028, allocations: 7.906 kB / 355.6 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.1028, allocations: 3.875 kB / 355.7 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1028, allocations: 0 / 355.7 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1028, allocations: 0 / 355.7 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1028, allocations: 4 kB / 355.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.103, allocations: 173.6 kB / 355.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.103, allocations: 0 / 355.8 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.103, allocations: 7.984 kB / 355.8 MB, free: 6.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1031, allocations: 4 kB / 355.8 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1031, allocations: 3.938 kB / 355.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1031, allocations: 0 / 355.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1031, allocations: 0 / 355.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1032, allocations: 76.98 kB / 355.9 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1033, allocations: 89.03 kB / 356 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1033, allocations: 4 kB / 356 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.1034, allocations: 12.03 kB / 356 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.1034, allocations: 0 / 356 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1034, allocations: 4 kB / 356 MB, free: 6.688 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.1035, allocations: 131.2 kB / 356.2 MB, free: 6.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1035, allocations: 0 / 356.2 MB, free: 6.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.1037, allocations: 16 kB / 356.2 MB, free: 6.543 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003188/0.104, allocations: 171 kB / 356.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.1041, allocations: 19.92 kB / 356.4 MB, free: 6.387 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.1041, allocations: 8.062 kB / 356.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.1041, allocations: 3.938 kB / 356.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.1043, allocations: 11.95 kB / 356.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.1047, allocations: 256.7 kB / 356.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1049, allocations: 0.7121 MB / 357.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.105, allocations: 8.172 kB / 357.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.105, allocations: 15.44 kB / 357.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.105, allocations: 0 / 357.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of Templates: time 0.003627/0.1086, allocations: 1.147 MB / 358.5 MB, free: 4.195 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches