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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 216.3 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 376.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2438, allocations: 53.31 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.00155/0.2454, allocations: 496.5 kB / 430.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002631/0.2456, allocations: 67.78 kB / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.2457, allocations: 0 / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2457, allocations: 0 / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.2458, allocations: 11.98 kB / 430.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.2459, allocations: 23.91 kB / 430.3 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.246, allocations: 15.98 kB / 430.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.2461, allocations: 0 / 430.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.2461, allocations: 15.98 kB / 430.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.2462, allocations: 31.89 kB / 430.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2462, allocations: 4 kB / 430.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.2462, allocations: 8 kB / 430.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.2463, allocations: 0 / 430.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.2463, allocations: 11.94 kB / 430.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2464, allocations: 23.91 kB / 430.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2464, allocations: 0 / 430.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2464, allocations: 0 / 430.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2464, allocations: 0 / 430.5 MB, free: 6.871 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003732/0.2468, allocations: 370.4 kB / 430.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.2468, allocations: 8.031 kB / 430.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.2468, allocations: 8.891 kB / 430.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.247, allocations: 176.2 kB / 431 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.247, allocations: 384 / 431 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.247, allocations: 4.375 kB / 431 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2471, allocations: 62.23 kB / 431.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2471, allocations: 8.109 kB / 431.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2471, allocations: 3.938 kB / 431.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2472, allocations: 0 / 431.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.2472, allocations: 27.98 kB / 431.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2474, allocations: 157.7 kB / 431.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.2474, allocations: 46.5 kB / 431.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2475, allocations: 32.92 kB / 431.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.2475, allocations: 0 / 431.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.2475, allocations: 60.27 kB / 431.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2475, allocations: 0 / 431.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.2478, allocations: 187.2 kB / 431.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.2479, allocations: 85.14 kB / 431.7 MB, free: 5.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.248, allocations: 109.8 kB / 431.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.248, allocations: 25.7 kB / 431.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.248, allocations: 92.08 kB / 431.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.248, allocations: 7.938 kB / 431.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.2481, allocations: 21.7 kB / 431.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2482, allocations: 314.8 kB / 432.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.2483, allocations: 23.98 kB / 432.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.2483, allocations: 31.98 kB / 432.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2484, allocations: 120.2 kB / 432.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2484, allocations: 0 / 432.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001977/0.2486, allocations: 147.4 kB / 432.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.2487, allocations: 33.7 kB / 432.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2487, allocations: 7.922 kB / 432.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2487, allocations: 256 / 432.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.2487, allocations: 0 / 432.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2487, allocations: 7.938 kB / 432.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.2487, allocations: 8.016 kB / 432.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.2487, allocations: 8 kB / 432.6 MB, free: 4.449 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 0.0001446/0.2489, allocations: 143.5 kB / 432.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.2489, allocations: 4 kB / 432.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.2489, allocations: 15.78 kB / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2489, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2489, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2489, allocations: 0 / 432.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.249, allocations: 161.6 kB / 432.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.249, allocations: 3.984 kB / 432.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.249, allocations: 4 kB / 432.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.249, allocations: 0 / 432.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2491, allocations: 7.938 kB / 432.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2491, allocations: 0 / 432.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2491, allocations: 3.938 kB / 432.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.2493, allocations: 198.9 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.2494, allocations: 77.11 kB / 433.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2494, allocations: 7.938 kB / 433.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.2494, allocations: 7.969 kB / 433.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.2494, allocations: 8 kB / 433.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2494, allocations: 0 / 433.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.406e-05/0.2495, allocations: 87.27 kB / 433.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2495, allocations: 0 / 433.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.2497, allocations: 12 kB / 433.3 MB, free: 3.602 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003106/0.25, allocations: 126.6 kB / 433.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2502, allocations: 123.4 kB / 433.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2502, allocations: 0 / 433.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.2502, allocations: 83.39 kB / 433.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.2504, allocations: 6.656 kB / 433.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.2506, allocations: 152.9 kB / 433.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.2509, allocations: 0.6845 MB / 434.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.2509, allocations: 4.125 kB / 434.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.2509, allocations: 11.44 kB / 434.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2509, allocations: 3.938 kB / 434.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Templates: time 0.003092/0.254, allocations: 0.6801 MB / 435.2 MB, free: 1.676 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.WriteRealMatrixToFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.307611487805843]