Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001629/0.001629, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001752/0.001752, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.77 kB / 378.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2205, allocations: 53.33 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0015/0.222, allocations: 480.6 kB / 432.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.2222, allocations: 62.94 kB / 432.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.2223, allocations: 4 kB / 432.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.2223, allocations: 0 / 432.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.2223, allocations: 19.91 kB / 432.6 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.2225, allocations: 15.98 kB / 432.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.2226, allocations: 23.97 kB / 432.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.2226, allocations: 3.984 kB / 432.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.2226, allocations: 8 kB / 432.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.2227, allocations: 35.89 kB / 432.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.2227, allocations: 0 / 432.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.883e-05/0.2228, allocations: 15.88 kB / 432.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.2228, allocations: 7.984 kB / 432.7 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.2228, allocations: 7.938 kB / 432.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.051e-05/0.2229, allocations: 29.88 kB / 432.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2229, allocations: 0 / 432.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2229, allocations: 4 kB / 432.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.2229, allocations: 0 / 432.7 MB, free: 6.719 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.0003546/0.2233, allocations: 361.1 kB / 433.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2233, allocations: 8.031 kB / 433.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.2233, allocations: 8.828 kB / 433.1 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.2235, allocations: 172.3 kB / 433.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2235, allocations: 4.359 kB / 433.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.2235, allocations: 4.375 kB / 433.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2236, allocations: 54.25 kB / 433.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2236, allocations: 192 / 433.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2236, allocations: 3.938 kB / 433.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2236, allocations: 0 / 433.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.2237, allocations: 35.92 kB / 433.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2238, allocations: 153.7 kB / 433.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.379e-05/0.2239, allocations: 46.61 kB / 433.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.2239, allocations: 28.92 kB / 433.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.2239, allocations: 0 / 433.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.224, allocations: 64.27 kB / 433.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.224, allocations: 0 / 433.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.2242, allocations: 187.2 kB / 433.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2243, allocations: 85.11 kB / 433.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.2244, allocations: 121.9 kB / 434 MB, free: 5.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2244, allocations: 25.7 kB / 434.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.2244, allocations: 84.14 kB / 434.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.2245, allocations: 7.953 kB / 434.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.2245, allocations: 13.72 kB / 434.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2246, allocations: 322.8 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.413e-05/0.2247, allocations: 20 kB / 434.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.2247, allocations: 27.98 kB / 434.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2248, allocations: 124.4 kB / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2248, allocations: 0 / 434.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001651/0.225, allocations: 155.3 kB / 434.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.225, allocations: 37.69 kB / 434.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.225, allocations: 0 / 434.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.225, allocations: 3.938 kB / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.225, allocations: 0 / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.225, allocations: 0 / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.2251, allocations: 11.89 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.2251, allocations: 0 / 434.9 MB, free: 4.316 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 9.922e-05/0.2252, allocations: 151.6 kB / 435 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2252, allocations: 7.938 kB / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.2252, allocations: 11.84 kB / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-06/0.2252, allocations: 0 / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.2252, allocations: 0 / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.2252, allocations: 81.09 kB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2252, allocations: 4 kB / 435.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.2253, allocations: 0 / 435.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.2253, allocations: 0 / 435.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002417/0.2255, allocations: 306 kB / 435.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002597/0.2258, allocations: 340.4 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.075e-05/0.2258, allocations: 27.98 kB / 435.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.2259, allocations: 95.27 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.2259, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.2264, allocations: 210 kB / 436.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004264/0.2268, allocations: 0.6185 MB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Templates: time 0.002869/0.2297, allocations: 0.7019 MB / 437.4 MB, free: 1.641 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.WriteRealMatrixToFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/WriteRealMatrixToFile/WriteRealMatrixToFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.160986299160868]