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.001008/0.001008, allocations: 93.42 kB / 16.3 MB, free: 5.996 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.001083/0.001083, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.22/1.22, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002386/0.0002386, allocations: 5.188 kB / 300.7 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08219/0.08244, allocations: 50.43 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005587/0.08305, allocations: 253.9 kB / 351.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.08483, allocations: 1.733 MB / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.08487, allocations: 0 / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007745/0.08565, allocations: 71.81 kB / 353.2 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.08571, allocations: 35.84 kB / 353.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.08587, allocations: 43.92 kB / 353.3 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.08594, allocations: 39.83 kB / 353.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.08598, allocations: 4.281 kB / 353.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.08604, allocations: 23.92 kB / 353.3 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.08612, allocations: 27.91 kB / 353.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.08614, allocations: 4 kB / 353.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.08618, allocations: 8 kB / 353.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.08626, allocations: 47.88 kB / 353.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.0863, allocations: 33.64 kB / 353.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.08642, allocations: 95.81 kB / 353.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.08643, allocations: 0 / 353.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08644, allocations: 0 / 353.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.08644, allocations: 0 / 353.5 MB, free: 9.344 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.0004924/0.08694, allocations: 472.3 kB / 354 MB, free: 8.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.08698, allocations: 8.031 kB / 354 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.08703, allocations: 15.86 kB / 354 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.08754, allocations: 347.6 kB / 354.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.08756, allocations: 0 / 354.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.08758, allocations: 0 / 354.4 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.08768, allocations: 73.98 kB / 354.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.08769, allocations: 0 / 354.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.08771, allocations: 3.938 kB / 354.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.08772, allocations: 3.984 kB / 354.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.08774, allocations: 11.89 kB / 354.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.08806, allocations: 233.5 kB / 354.7 MB, free: 8.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.0881, allocations: 14.58 kB / 354.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.08812, allocations: 4 kB / 354.7 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.08816, allocations: 64.33 kB / 354.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.08817, allocations: 0 / 354.8 MB, free: 7.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.08829, allocations: 53.44 kB / 354.8 MB, free: 7.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.08837, allocations: 158.2 kB / 355 MB, free: 7.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.08867, allocations: 308.8 kB / 355.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.08869, allocations: 25.7 kB / 355.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.08876, allocations: 116.2 kB / 355.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.08878, allocations: 0 / 355.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.08879, allocations: 0 / 355.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.0889, allocations: 338.8 kB / 355.7 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.08891, allocations: 0 / 355.7 MB, free: 6.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.126e-05/0.08896, allocations: 40.28 kB / 355.8 MB, free: 6.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.08899, allocations: 16 kB / 355.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.08899, allocations: 0 / 355.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.964e-05/0.08907, allocations: 53.45 kB / 355.8 MB, free: 6.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.08909, allocations: 4 kB / 355.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.0891, allocations: 0 / 355.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.08911, allocations: 0 / 355.8 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.623e-05/0.08914, allocations: 7.984 kB / 355.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.08915, allocations: 0 / 355.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.08926, allocations: 19.84 kB / 355.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.08927, allocations: 8.031 kB / 355.9 MB, free: 6.707 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.326e-05/0.08936, allocations: 129.8 kB / 356 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.0894, allocations: 11.91 kB / 356 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.08943, allocations: 20.55 kB / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.08944, allocations: 0 / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.08945, allocations: 0 / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.08945, allocations: 0 / 356 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.08964, allocations: 205.5 kB / 356.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.08965, allocations: 0 / 356.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.08968, allocations: 15.88 kB / 356.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.08969, allocations: 0 / 356.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.0897, allocations: 0 / 356.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.08971, allocations: 4 kB / 356.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.08971, allocations: 0 / 356.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.08982, allocations: 84.89 kB / 356.3 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.08995, allocations: 120.9 kB / 356.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.08998, allocations: 0 / 356.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.09008, allocations: 12.09 kB / 356.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-06/0.09009, allocations: 0 / 356.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.0901, allocations: 0 / 356.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.09033, allocations: 248.4 kB / 356.7 MB, free: 5.777 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09033, allocations: 0 / 356.7 MB, free: 5.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.09054, allocations: 24 kB / 356.7 MB, free: 5.754 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.0002899/0.09084, allocations: 163.4 kB / 356.9 MB, free: 5.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.711e-05/0.09092, allocations: 11.94 kB / 356.9 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09093, allocations: 4.062 kB / 356.9 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.09094, allocations: 7.984 kB / 356.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.09105, allocations: 15.95 kB / 356.9 MB, free: 5.578 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.09135, allocations: 241.8 kB / 357.2 MB, free: 5.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.09161, allocations: 0.7126 MB / 357.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.09167, allocations: 36.81 kB / 357.9 MB, free: 4.535 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.09172, allocations: 27.36 kB / 357.9 MB, free: 4.512 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09173, allocations: 0 / 357.9 MB, free: 4.512 MB / 286.1 MB Notification: Performance of Templates: time 0.003954/0.09569, allocations: 1.894 MB / 359.8 MB, free: 2.641 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","../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches