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.002345/0.002345, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002333/0.002333, allocations: 213 kB / 23.73 MB, free: 4.164 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.001905/0.001905, allocations: 67.89 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2346, allocations: 53.4 MB / 431.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001718/0.2363, allocations: 492.6 kB / 432.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.2366, allocations: 66.95 kB / 432.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.2366, allocations: 0 / 432.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.2366, allocations: 7.938 kB / 432.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.2367, allocations: 7.984 kB / 432.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2368, allocations: 23.91 kB / 432.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.2369, allocations: 15.98 kB / 432.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.237, allocations: 4 kB / 432.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.237, allocations: 23.91 kB / 432.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.2371, allocations: 19.98 kB / 432.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.2371, allocations: 4 kB / 432.3 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.2371, allocations: 7.984 kB / 432.3 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.2372, allocations: 4 kB / 432.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.2372, allocations: 11.92 kB / 432.3 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2373, allocations: 30.39 kB / 432.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2373, allocations: 0 / 432.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2373, allocations: 0 / 432.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2374, allocations: 0 / 432.3 MB, free: 5.891 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.0003857/0.2377, allocations: 283.7 kB / 432.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2378, allocations: 15.98 kB / 432.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2378, allocations: 8.891 kB / 432.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2379, allocations: 118.5 kB / 432.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2379, allocations: 384 / 432.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.238, allocations: 8.312 kB / 432.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2381, allocations: 87.94 kB / 432.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2381, allocations: 192 / 432.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2381, allocations: 7.938 kB / 432.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2381, allocations: 3.938 kB / 432.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.2382, allocations: 57.69 kB / 432.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2383, allocations: 97.33 kB / 433 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.2384, allocations: 72.31 kB / 433.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.2385, allocations: 70.56 kB / 433.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.2385, allocations: 3.984 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.2385, allocations: 60.27 kB / 433.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2385, allocations: 0 / 433.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003309/0.2389, allocations: 242.6 kB / 433.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.2389, allocations: 77.11 kB / 433.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.239, allocations: 117.8 kB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.239, allocations: 29.7 kB / 433.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.2391, allocations: 80.14 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2391, allocations: 7.953 kB / 433.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2391, allocations: 21.75 kB / 433.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2393, allocations: 318.8 kB / 434.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.2393, allocations: 57.62 kB / 434.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.2394, allocations: 53.69 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.2395, allocations: 128.4 kB / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2395, allocations: 0 / 434.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001903/0.2397, allocations: 177.1 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.2397, allocations: 36.2 kB / 434.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2398, allocations: 3.984 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2398, allocations: 3.938 kB / 434.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.2398, allocations: 0 / 434.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2398, allocations: 4.062 kB / 434.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.2398, allocations: 7.953 kB / 434.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.2398, allocations: 0 / 434.5 MB, free: 3.402 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.0001151/0.2399, allocations: 155.5 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2399, allocations: 7.938 kB / 434.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.775e-05/0.2399, allocations: 4 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.24, allocations: 8.188 kB / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.24, allocations: 0 / 434.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.24, allocations: 4 kB / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.2401, allocations: 109.2 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2401, allocations: 4 kB / 434.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2401, allocations: 7.938 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2401, allocations: 0 / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2401, allocations: 0 / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2401, allocations: 0 / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2401, allocations: 7.938 kB / 434.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2403, allocations: 220.4 kB / 435 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.2403, allocations: 7.984 kB / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2403, allocations: 0 / 435 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.2404, allocations: 4 kB / 435 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.2404, allocations: 3.938 kB / 435.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2404, allocations: 8.031 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.2404, allocations: 95.2 kB / 435.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2404, allocations: 0 / 435.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.2406, allocations: 8 kB / 435.2 MB, free: 2.676 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.0003544/0.241, allocations: 132.1 kB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2412, allocations: 186.8 kB / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2412, allocations: 0 / 435.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.2413, allocations: 117.1 kB / 435.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2414, allocations: 4 kB / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.2418, allocations: 170.6 kB / 435.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.436e-05/0.2418, allocations: 63.34 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.63e-06/0.2418, allocations: 0 / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.2418, allocations: 7.438 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2418, allocations: 3.938 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Templates: time 0.003083/0.2449, allocations: 0.7084 MB / 436.5 MB, free: 1.219 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.062544947490096]