Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001706/0.001706, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001968/0.001968, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.568/1.568, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [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.002034/0.002034, allocations: 71.83 kB / 374.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1169, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003111/0.12, allocations: 1.634 MB / 429.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.121, allocations: 0.5571 MB / 430.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.366e-05/0.1211, allocations: 11.94 kB / 430.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1212, allocations: 3.938 kB / 430.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1213, allocations: 15.8 kB / 430.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1217, allocations: 67.8 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1218, allocations: 67.77 kB / 430.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1219, allocations: 8 kB / 430.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.122, allocations: 43.78 kB / 430.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.1221, allocations: 31.84 kB / 430.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1221, allocations: 8 kB / 430.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.1221, allocations: 4 kB / 430.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.1222, allocations: 19.92 kB / 430.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1222, allocations: 31.75 kB / 430.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1224, allocations: 75.59 kB / 430.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1224, allocations: 4 kB / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1224, allocations: 0 / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1224, allocations: 0 / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000579/0.123, allocations: 406.8 kB / 431 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.123, allocations: 16.03 kB / 431.1 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.1233, allocations: 28.86 kB / 431.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.1236, allocations: 212.1 kB / 431.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.1236, allocations: 384 / 431.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1236, allocations: 4.375 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.124, allocations: 138.2 kB / 431.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.124, allocations: 4 kB / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.124, allocations: 0 / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.124, allocations: 0 / 431.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1242, allocations: 47.84 kB / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.1248, allocations: 373.9 kB / 431.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1249, allocations: 83.77 kB / 431.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.125, allocations: 42.62 kB / 432 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.125, allocations: 3.938 kB / 432 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1251, allocations: 30.56 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1251, allocations: 0 / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003855/0.1255, allocations: 117.6 kB / 432.1 MB, free: 72 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2062/0.3316, allocations: 102.8 kB / 432.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3318, allocations: 155.2 kB / 432.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3318, allocations: 26.42 kB / 432.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.3319, allocations: 96.77 kB / 432.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3319, allocations: 10.86 kB / 432.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.332, allocations: 15.83 kB / 432.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.3321, allocations: 324.5 kB / 432.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3322, allocations: 18.81 kB / 432.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.3323, allocations: 44.66 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3324, allocations: 70.56 kB / 433 MB, free: 10.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3324, allocations: 0 / 433 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002378/0.3327, allocations: 89.17 kB / 433 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3327, allocations: 5.438 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3327, allocations: 5.031 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3327, allocations: 0.5938 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3328, allocations: 15.55 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3329, allocations: 2.406 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.3329, allocations: 6.531 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3329, allocations: 3.406 kB / 433.1 MB, free: 10.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.354e-05/0.333, allocations: 121.6 kB / 433.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.3331, allocations: 53.55 kB / 433.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.3331, allocations: 19.91 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.3332, allocations: 5.391 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3332, allocations: 1.859 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3332, allocations: 1.156 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3334, allocations: 185.3 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3334, allocations: 1.531 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.3335, allocations: 8.844 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3335, allocations: 3.391 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3335, allocations: 5.094 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3335, allocations: 4.75 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3335, allocations: 1.375 kB / 433.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3338, allocations: 270.4 kB / 433.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.3338, allocations: 98.2 kB / 433.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3339, allocations: 8.062 kB / 433.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.334, allocations: 4.594 kB / 433.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.334, allocations: 4.469 kB / 433.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.334, allocations: 2.547 kB / 433.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.692e-05/0.3341, allocations: 127 kB / 434 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3341, allocations: 0 / 434 MB, free: 9.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3344, allocations: 9.531 kB / 434 MB, free: 9.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001102/0.3345, allocations: 100.8 kB / 434.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3347, allocations: 51.88 kB / 434.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3347, allocations: 0.5938 kB / 434.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.3348, allocations: 24.58 kB / 434.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.3353, allocations: 19.7 kB / 434.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.3357, allocations: 237.9 kB / 434.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.3359, allocations: 0.7031 MB / 435.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.336, allocations: 12.98 kB / 435.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.336, allocations: 1.781 kB / 435.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Templates: time 0.002755/0.3387, allocations: 0.9801 MB / 436.1 MB, free: 8.945 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.361739171989029]