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.001561/0.001561, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002091/0.002091, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 8.027 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.002025/0.002025, allocations: 63.89 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2468, allocations: 53.41 MB / 432.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001604/0.2484, allocations: 491.5 kB / 432.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000252/0.2486, allocations: 63.78 kB / 432.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.2487, allocations: 0 / 432.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.2487, allocations: 0 / 432.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.2488, allocations: 11.98 kB / 433 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.2489, allocations: 27.91 kB / 433 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.249, allocations: 19.98 kB / 433 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.249, allocations: 0 / 433 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.2491, allocations: 19.97 kB / 433 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.2491, allocations: 27.91 kB / 433.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2492, allocations: 0 / 433.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.2492, allocations: 11.94 kB / 433.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.2492, allocations: 0 / 433.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.2493, allocations: 15.92 kB / 433.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.616e-05/0.2494, allocations: 19.92 kB / 433.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2494, allocations: 0 / 433.1 MB, free: 6.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2494, allocations: 8 kB / 433.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2494, allocations: 0 / 433.1 MB, free: 6.125 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.0003795/0.2498, allocations: 289.2 kB / 433.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2498, allocations: 8.031 kB / 433.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.2498, allocations: 8.891 kB / 433.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.25, allocations: 110.4 kB / 433.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.25, allocations: 4.375 kB / 433.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.25, allocations: 4.375 kB / 433.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.2501, allocations: 62.23 kB / 433.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2501, allocations: 8.125 kB / 433.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2502, allocations: 7.938 kB / 433.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2502, allocations: 0 / 433.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.2502, allocations: 23.98 kB / 433.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2504, allocations: 132.8 kB / 433.8 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.2504, allocations: 46.5 kB / 433.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.2505, allocations: 32.92 kB / 433.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-06/0.2505, allocations: 0 / 433.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.2505, allocations: 64.27 kB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2505, allocations: 0 / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003069/0.2509, allocations: 187.2 kB / 434.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.2509, allocations: 81.11 kB / 434.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.251, allocations: 109.8 kB / 434.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2511, allocations: 25.7 kB / 434.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.2511, allocations: 88.08 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.2511, allocations: 7.953 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2512, allocations: 25.73 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2513, allocations: 314.8 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.2514, allocations: 23.98 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.2514, allocations: 35.03 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.2515, allocations: 120.3 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2515, allocations: 0 / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001852/0.2517, allocations: 147.4 kB / 435 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.2517, allocations: 40.36 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2517, allocations: 8 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2518, allocations: 0 / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.2518, allocations: 3.984 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2518, allocations: 3.938 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.2518, allocations: 7.891 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2518, allocations: 4 kB / 435.1 MB, free: 3.906 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.0001148/0.2519, allocations: 147.5 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.2519, allocations: 4 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.2519, allocations: 7.938 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2519, allocations: 4 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2519, allocations: 0 / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.252, allocations: 4 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.2521, allocations: 132.6 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2521, allocations: 0 / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.2521, allocations: 4.25 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2521, allocations: 0 / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2521, allocations: 11.92 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2521, allocations: 0 / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2521, allocations: 0 / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.2523, allocations: 198.8 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.2523, allocations: 7.984 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2523, allocations: 7.938 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.2524, allocations: 3.938 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.2524, allocations: 0 / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-06/0.2524, allocations: 4 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.516e-05/0.2524, allocations: 91.27 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2524, allocations: 0 / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001962/0.2526, allocations: 8.031 kB / 435.7 MB, free: 3.191 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.0003278/0.253, allocations: 129.3 kB / 435.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.2531, allocations: 123.4 kB / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2531, allocations: 0 / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.2532, allocations: 87.39 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2534, allocations: 8.125 kB / 436.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.2537, allocations: 162.6 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.254, allocations: 0.6845 MB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.254, allocations: 7.438 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.254, allocations: 0 / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of Templates: time 0.002332/0.2563, allocations: 0.6834 MB / 437.6 MB, free: 1.242 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.123539044056088]