Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 204.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.816 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Utilities.Examples.WriteRealMatrixToFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 53.36 MB / 432.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001526/0.2119, allocations: 498.9 kB / 432.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000252/0.2122, allocations: 59.03 kB / 432.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.2122, allocations: 0 / 432.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2122, allocations: 3.938 kB / 432.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.2123, allocations: 15.98 kB / 432.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.2124, allocations: 19.97 kB / 432.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.2125, allocations: 23.92 kB / 432.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.2126, allocations: 0 / 432.9 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.2126, allocations: 15.92 kB / 432.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.2127, allocations: 23.97 kB / 433 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2127, allocations: 0 / 433 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.2127, allocations: 8 kB / 433 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.2128, allocations: 7.922 kB / 433 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2128, allocations: 8 kB / 433 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.923e-05/0.2129, allocations: 29.88 kB / 433 MB, free: 6.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2129, allocations: 4 kB / 433 MB, free: 6.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2129, allocations: 0 / 433 MB, free: 6.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2129, allocations: 0 / 433 MB, free: 6.098 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.0003693/0.2133, allocations: 283.7 kB / 433.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2133, allocations: 11.97 kB / 433.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.2133, allocations: 8.891 kB / 433.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2134, allocations: 110.5 kB / 433.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2135, allocations: 4.375 kB / 433.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2135, allocations: 4.359 kB / 433.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2136, allocations: 91.89 kB / 433.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2136, allocations: 4.188 kB / 433.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2136, allocations: 3.938 kB / 433.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2136, allocations: 0 / 433.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.2137, allocations: 61.67 kB / 433.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.2138, allocations: 101.3 kB / 433.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.2139, allocations: 72.31 kB / 433.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.214, allocations: 58.62 kB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.214, allocations: 4 kB / 433.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.214, allocations: 68.19 kB / 433.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.214, allocations: 0 / 433.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003398/0.2144, allocations: 250.6 kB / 434.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.2144, allocations: 81.11 kB / 434.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.2145, allocations: 109.8 kB / 434.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2145, allocations: 25.7 kB / 434.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.2146, allocations: 88.12 kB / 434.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.2146, allocations: 15.88 kB / 434.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2146, allocations: 17.72 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2148, allocations: 314.8 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.2148, allocations: 53.69 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.2149, allocations: 61.67 kB / 434.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.215, allocations: 120.2 kB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.215, allocations: 4.062 kB / 435 MB, free: 3.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001917/0.2152, allocations: 181.1 kB / 435.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.2152, allocations: 29.7 kB / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2152, allocations: 0 / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2152, allocations: 0 / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-06/0.2152, allocations: 7.922 kB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2153, allocations: 4 kB / 435.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.2153, allocations: 3.953 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2153, allocations: 4 kB / 435.2 MB, free: 3.609 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.00011/0.2154, allocations: 155.5 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2154, allocations: 4.031 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.2154, allocations: 8 kB / 435.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2154, allocations: 3.938 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2154, allocations: 0 / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.2154, allocations: 11.94 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.2155, allocations: 3.938 kB / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.2155, allocations: 0 / 435.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.2155, allocations: 4.188 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002806/0.2158, allocations: 331.7 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002932/0.2161, allocations: 374.1 kB / 436.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.824e-05/0.2161, allocations: 65.69 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.201e-05/0.2162, allocations: 91.52 kB / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.2162, allocations: 0 / 436.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.2168, allocations: 229.6 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004543/0.2172, allocations: 0.6106 MB / 437.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Templates: time 0.003097/0.2203, allocations: 0.7602 MB / 437.8 MB, free: 0.832 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.246959280004376]