Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9373/0.9373, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 3.938 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.339e-05/7.6e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002517/0.002593, allocations: 1.658 MB / 269.7 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.003334, allocations: 474.6 kB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.003416, allocations: 3.938 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003538, allocations: 11.92 kB / 270.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.003652, allocations: 15.8 kB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.00391, allocations: 47.81 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.004024, allocations: 67.72 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.004149, allocations: 11.98 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.00424, allocations: 39.84 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.004303, allocations: 15.97 kB / 270.3 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.004327, allocations: 4 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.004341, allocations: 4 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.00441, allocations: 23.92 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.00445, allocations: 15.92 kB / 270.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.004594, allocations: 51.75 kB / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.004597, allocations: 4 kB / 270.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004599, allocations: 4 kB / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.004606, allocations: 0 / 270.4 MB, free: 3.961 MB / 250.7 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.0004626/0.005068, allocations: 412.2 kB / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.005112, allocations: 12.03 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.00515, allocations: 12.84 kB / 270.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.005342, allocations: 157.8 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005354, allocations: 4.375 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.005369, allocations: 4.375 kB / 271 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.005632, allocations: 133.3 kB / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005641, allocations: 192 / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.005654, allocations: 384 / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.005689, allocations: 7.938 kB / 271.2 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.005721, allocations: 11.92 kB / 271.2 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.006103, allocations: 414.4 kB / 271.6 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.006196, allocations: 89.12 kB / 271.7 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.006234, allocations: 39.17 kB / 271.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.00625, allocations: 0 / 271.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.00628, allocations: 45.27 kB / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.00628, allocations: 0 / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001866/0.006467, allocations: 69.52 kB / 271.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.006525, allocations: 102.8 kB / 271.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.006639, allocations: 208.9 kB / 272.1 MB, free: 2.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.00665, allocations: 25.7 kB / 272.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.006714, allocations: 143.2 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.006733, allocations: 7.953 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.006773, allocations: 23.31 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.006911, allocations: 0.4923 MB / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.006925, allocations: 0 / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.006946, allocations: 19.38 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.006983, allocations: 23.38 kB / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006985, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.985e-05/0.007044, allocations: 53.52 kB / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.00706, allocations: 10.94 kB / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007065, allocations: 0 / 272.9 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.007082, allocations: 4 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.007145, allocations: 7.984 kB / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.00715, allocations: 0 / 272.9 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.007172, allocations: 4 kB / 272.9 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.00718, allocations: 0 / 272.9 MB, free: 1.176 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.434e-05/0.007254, allocations: 156.6 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.007306, allocations: 53.52 kB / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.00734, allocations: 16 kB / 273.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.007352, allocations: 0 / 273.2 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.007357, allocations: 4 kB / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007361, allocations: 0 / 273.2 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.007503, allocations: 140.5 kB / 273.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.007507, allocations: 0 / 273.3 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.007528, allocations: 11.98 kB / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.007529, allocations: 0 / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.00754, allocations: 3.938 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007541, allocations: 3.938 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.007543, allocations: 4 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.007721, allocations: 342.7 kB / 273.7 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.00775, allocations: 11.94 kB / 273.7 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.007765, allocations: 7.938 kB / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.007817, allocations: 3.984 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.007864, allocations: 7.984 kB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007868, allocations: 4 kB / 273.7 MB, free: 348 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.007931, allocations: 147.2 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007931, allocations: 0 / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.008094, allocations: 8 kB / 273.8 MB, free: 192 kB / 250.7 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 9.101e-05/0.008185, allocations: 99.25 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.008291, allocations: 27.61 kB / 274 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008292, allocations: 0 / 274 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.008312, allocations: 11.69 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.008626, allocations: 24.52 kB / 274 MB, free: 8 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.009216, allocations: 210 kB / 274.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.009262, allocations: 63.34 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.009291, allocations: 4 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.009329, allocations: 16.48 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.00933, allocations: 0 / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002622/0.01195, allocations: 0.7334 MB / 275 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9007652578875422]