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.001004/0.001004, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001255/0.001256, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 11.94 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09218, allocations: 50.42 MB / 351.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006273/0.09287, allocations: 253.9 kB / 352.1 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.09507, allocations: 1.773 MB / 353.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.09511, allocations: 0 / 353.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.09751, allocations: 124.6 kB / 354 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.09759, allocations: 23.91 kB / 354 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.09778, allocations: 55.88 kB / 354 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.09787, allocations: 39.84 kB / 354.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.09792, allocations: 8 kB / 354.1 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.09798, allocations: 27.84 kB / 354.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.09809, allocations: 27.91 kB / 354.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.09812, allocations: 4 kB / 354.1 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-05/0.09818, allocations: 12 kB / 354.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.09828, allocations: 59.88 kB / 354.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.09835, allocations: 49.56 kB / 354.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.09848, allocations: 59.8 kB / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.09849, allocations: 0 / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0985, allocations: 3.938 kB / 354.3 MB, free: 1.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09851, allocations: 0 / 354.3 MB, free: 1.211 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.0004108/0.09892, allocations: 377.3 kB / 354.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.09896, allocations: 12.03 kB / 354.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.09901, allocations: 8.844 kB / 354.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.09924, allocations: 216 kB / 354.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.09926, allocations: 4.375 kB / 354.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.09929, allocations: 384 / 354.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.09941, allocations: 74.3 kB / 355 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.09942, allocations: 3.938 kB / 355 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.09944, allocations: 0 / 355 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.09945, allocations: 4 kB / 355 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.09948, allocations: 7.984 kB / 355 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.09977, allocations: 173.7 kB / 355.2 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.692e-05/0.09982, allocations: 22.56 kB / 355.2 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.09985, allocations: 8.922 kB / 355.2 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.09986, allocations: 0 / 355.2 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.0999, allocations: 64.2 kB / 355.3 MB, free: 68 kB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.09991, allocations: 4 kB / 355.3 MB, free: 64 kB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.1, allocations: 45.62 kB / 355.3 MB, free: 12 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1001, allocations: 154.2 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1003, allocations: 168.1 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1003, allocations: 33.7 kB / 355.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1004, allocations: 92.12 kB / 355.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1004, allocations: 0 / 355.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.1004, allocations: 13.72 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1005, allocations: 315 kB / 356.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1005, allocations: 8 kB / 356.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.1006, allocations: 40.28 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.1006, allocations: 24.78 kB / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1006, allocations: 0 / 356.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.612e-05/0.1007, allocations: 45.55 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1007, allocations: 8.094 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1007, allocations: 0 / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1008, allocations: 3.938 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.763e-05/0.1008, allocations: 4 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1008, allocations: 0 / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.1009, allocations: 15.92 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1009, allocations: 0 / 356.2 MB, free: 15.01 MB / 302.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.101, allocations: 121.8 kB / 356.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.101, allocations: 15.83 kB / 356.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.101, allocations: 15.81 kB / 356.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.101, allocations: 4 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1011, allocations: 0 / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1011, allocations: 0 / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1013, allocations: 169.7 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1013, allocations: 0 / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.813e-05/0.1013, allocations: 11.88 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1013, allocations: 3.984 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.1013, allocations: 0 / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1013, allocations: 0 / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1013, allocations: 0 / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1015, allocations: 77.03 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1015, allocations: 96.97 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1015, allocations: 0 / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.1016, allocations: 8 kB / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.1016, allocations: 0 / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1016, allocations: 0 / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.463e-05/0.1017, allocations: 141.5 kB / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1017, allocations: 0 / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.102, allocations: 12 kB / 356.9 MB, free: 14.25 MB / 302.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 (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.0003484/0.1023, allocations: 179.5 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.1024, allocations: 15.98 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1024, allocations: 0 / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.1024, allocations: 4 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.1026, allocations: 11.94 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.1029, allocations: 265.1 kB / 357.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1032, allocations: 0.7131 MB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.1033, allocations: 11.98 kB / 358.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1033, allocations: 15.44 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1033, allocations: 0 / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Templates: time 0.00362/0.1069, allocations: 1.181 MB / 359.3 MB, free: 11.85 MB / 302.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