Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 50.54 MB / 409.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001496/0.2322, allocations: 480.6 kB / 410.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.2324, allocations: 63.78 kB / 410.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.2325, allocations: 0 / 410.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2325, allocations: 3.938 kB / 410.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.2326, allocations: 11.98 kB / 410.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.2328, allocations: 23.97 kB / 410.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.356e-05/0.2329, allocations: 27.91 kB / 410.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.2329, allocations: 0 / 410.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.2329, allocations: 11.98 kB / 410.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.233, allocations: 27.91 kB / 410.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.233, allocations: 0 / 410.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.219e-05/0.2331, allocations: 8 kB / 410.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.2331, allocations: 7.984 kB / 410.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2331, allocations: 7.938 kB / 410.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2333, allocations: 31.91 kB / 410.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2333, allocations: 4 kB / 410.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2333, allocations: 3.938 kB / 410.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2333, allocations: 0 / 410.6 MB, free: 1.066 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.0003154/0.2336, allocations: 357.2 kB / 411 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2336, allocations: 8.031 kB / 411 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2337, allocations: 4.938 kB / 411 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2338, allocations: 169.5 kB / 411.1 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2338, allocations: 4.375 kB / 411.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.2338, allocations: 384 / 411.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.234, allocations: 62.19 kB / 411.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.234, allocations: 4.188 kB / 411.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.234, allocations: 3.938 kB / 411.2 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.234, allocations: 3.938 kB / 411.2 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.234, allocations: 27.98 kB / 411.2 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.2342, allocations: 157.6 kB / 411.4 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.525e-05/0.2342, allocations: 46.61 kB / 411.4 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.2343, allocations: 36.92 kB / 411.5 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-06/0.2343, allocations: 4 kB / 411.5 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.2344, allocations: 60.2 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2344, allocations: 0 / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000273/0.2346, allocations: 187.3 kB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2347, allocations: 81.09 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.2348, allocations: 113.8 kB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2348, allocations: 25.7 kB / 411.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2348, allocations: 92.17 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2349, allocations: 3.906 kB / 412 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.2349, allocations: 21.72 kB / 412 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.235, allocations: 314.8 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.235, allocations: 20 kB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.2351, allocations: 27.98 kB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.2352, allocations: 124.4 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2352, allocations: 0 / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001561/0.2354, allocations: 151.3 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.2354, allocations: 44.56 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2354, allocations: 0 / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2354, allocations: 3.938 kB / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2354, allocations: 256 / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2354, allocations: 0 / 412.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.2355, allocations: 12 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2355, allocations: 0 / 412.7 MB, free: 14.67 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: 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.561e-05/0.2356, allocations: 147.5 kB / 412.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2356, allocations: 4 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.2356, allocations: 15.84 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2356, allocations: 3.938 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2356, allocations: 0 / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.2357, allocations: 85 kB / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2357, allocations: 4 kB / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.2357, allocations: 0 / 413 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.2357, allocations: 7.875 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002081/0.236, allocations: 298 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002422/0.2362, allocations: 344.5 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.997e-05/0.2363, allocations: 43.92 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.602e-05/0.2363, allocations: 87.27 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2363, allocations: 0 / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.2368, allocations: 206.6 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003642/0.2372, allocations: 0.6068 MB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Templates: time 0.002665/0.2399, allocations: 0.7017 MB / 415.3 MB, free: 11.99 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches