Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2679, allocations: 50.54 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001794/0.2697, allocations: 0.523 MB / 410.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.2729, allocations: 1.857 MB / 412.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.2729, allocations: 0 / 412.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.2759, allocations: 174 kB / 412.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.276, allocations: 23.97 kB / 412.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.2762, allocations: 51.86 kB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2764, allocations: 39.91 kB / 412.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.013e-05/0.2764, allocations: 0 / 412.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2765, allocations: 35.84 kB / 412.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2766, allocations: 23.86 kB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2766, allocations: 0 / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.2767, allocations: 12 kB / 412.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.2768, allocations: 43.95 kB / 413 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.2769, allocations: 19.81 kB / 413 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.2771, allocations: 47.62 kB / 413 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2771, allocations: 4 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2771, allocations: 0 / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2771, allocations: 0 / 413 MB, free: 14.65 MB / 334.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.0006077/0.2777, allocations: 396.9 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2778, allocations: 8.031 kB / 413.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.2778, allocations: 12.88 kB / 413.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2781, allocations: 200.2 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.2781, allocations: 4.312 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.2781, allocations: 384 / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2783, allocations: 78.3 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2783, allocations: 0 / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2784, allocations: 0 / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2784, allocations: 0 / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.2784, allocations: 7.938 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.2788, allocations: 177.7 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.2789, allocations: 14.58 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.2789, allocations: 8.922 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.2789, allocations: 0 / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/0.279, allocations: 64.19 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/0.279, allocations: 0 / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.000215/0.2792, allocations: 49.59 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.2793, allocations: 162.3 kB / 414.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.2795, allocations: 152.7 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2796, allocations: 25.7 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.2797, allocations: 96.12 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.2797, allocations: 3.953 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.2797, allocations: 17.72 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2799, allocations: 322.8 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.2799, allocations: 4 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.28, allocations: 44.22 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.2801, allocations: 16.86 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2801, allocations: 0 / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.2802, allocations: 49.62 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.2802, allocations: 11.94 kB / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2802, allocations: 96 / 414.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.2802, allocations: 7.938 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/0.2803, allocations: 0 / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2803, allocations: 8 kB / 414.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.2804, allocations: 3.953 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2804, allocations: 0 / 414.9 MB, free: 12.45 MB / 334.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 0.0001483/0.2805, allocations: 129.8 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2806, allocations: 7.938 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2806, allocations: 15.83 kB / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2806, allocations: 0 / 415.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2806, allocations: 4 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2806, allocations: 3.984 kB / 415.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2809, allocations: 165.7 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2809, allocations: 0 / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.2809, allocations: 3.984 kB / 415.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.2809, allocations: 11.97 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2809, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2809, allocations: 3.938 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2809, allocations: 0 / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.2811, allocations: 77.08 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.2812, allocations: 93.03 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2812, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.2813, allocations: 7.984 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.2813, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2813, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.2815, allocations: 119.2 kB / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2815, allocations: 0 / 415.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.2818, allocations: 12.09 kB / 415.6 MB, free: 11.71 MB / 334.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.0004704/0.2823, allocations: 145.6 kB / 415.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2824, allocations: 23.92 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2824, allocations: 0 / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.2824, allocations: 4 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2827, allocations: 4 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.2832, allocations: 245.7 kB / 416 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.2837, allocations: 0.7118 MB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.2837, allocations: 12.11 kB / 416.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.2838, allocations: 19.42 kB / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2838, allocations: 0 / 416.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of Templates: time 0.005866/0.2896, allocations: 1.031 MB / 417.8 MB, free: 9.516 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches