Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.00118/0.00118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002797, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001062/0.001062, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002377, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9769/0.9769, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08869/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.845e-06/8.887e-06, allocations: 4.984 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001606/0.001615, allocations: 1.65 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.001809, allocations: 156.1 kB / 246.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.001866, allocations: 7.938 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.001909, allocations: 7.922 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.001953, allocations: 3.938 kB / 246.3 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.002076, allocations: 43.83 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.002157, allocations: 39.84 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.002232, allocations: 12 kB / 246.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.002286, allocations: 35.91 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.002326, allocations: 15.97 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002345, allocations: 0 / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.002354, allocations: 4 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.002389, allocations: 15.94 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.002414, allocations: 11.94 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.934e-05/0.002493, allocations: 39.73 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.002509, allocations: 0 / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002509, allocations: 0 / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.002521, allocations: 3.984 kB / 246.5 MB, free: 12.29 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.0003362/0.002857, allocations: 288.3 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.002883, allocations: 15.97 kB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.002909, allocations: 8.938 kB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.003038, allocations: 136.4 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-06/0.003045, allocations: 8.375 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.003053, allocations: 4.375 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.0032, allocations: 116.8 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.003206, allocations: 4.188 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.003211, allocations: 4.375 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.003235, allocations: 4.359 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.003255, allocations: 18.7 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.003436, allocations: 247 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.003523, allocations: 66.58 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.003545, allocations: 22.69 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.003552, allocations: 7.938 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.003568, allocations: 30.56 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.00357, allocations: 4 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001127/0.003683, allocations: 57.56 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.003729, allocations: 114.7 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.003793, allocations: 138.6 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003802, allocations: 25.7 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.003829, allocations: 88.12 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.003838, allocations: 4 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.003867, allocations: 21.66 kB / 247.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.003935, allocations: 319.2 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.003941, allocations: 4 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.003954, allocations: 13.72 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.003975, allocations: 20.53 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003977, allocations: 0 / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.689e-05/0.004014, allocations: 41.62 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.004024, allocations: 8 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.004029, allocations: 4 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.004037, allocations: 4.062 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.004089, allocations: 11.98 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004092, allocations: 4 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.004107, allocations: 4 kB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.00411, allocations: 0 / 248.4 MB, free: 10.22 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: 2 (sample1.u[2],sample1.u[1]) * 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 5.441e-05/0.004165, allocations: 120.5 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.0042, allocations: 37.69 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.004219, allocations: 11.97 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.004232, allocations: 3.938 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004233, allocations: 4 kB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.004235, allocations: 4.031 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.004336, allocations: 73.88 kB / 248.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.004339, allocations: 4 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/0.004355, allocations: 7.984 kB / 248.6 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.004381, allocations: 11.95 kB / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.004382, allocations: 0 / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-06/0.004386, allocations: 0 / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004386, allocations: 0 / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.00439, allocations: 15.81 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.732e-05/0.004468, allocations: 222.5 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.004477, allocations: 3.984 kB / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.004523, allocations: 4 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.004546, allocations: 3.938 kB / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.004549, allocations: 0 / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.00457, allocations: 31.58 kB / 248.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00457, allocations: 0 / 248.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.004699, allocations: 8 kB / 248.9 MB, free: 9.609 MB / 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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 5.946e-05/0.004758, allocations: 88.34 kB / 249 MB, free: 9.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.401e-05/0.004812, allocations: 20.88 kB / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.004815, allocations: 0 / 249 MB, free: 9.488 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.004827, allocations: 12.8 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.005042, allocations: 23.41 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.005386, allocations: 184 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.005421, allocations: 63.34 kB / 249.3 MB, free: 9.152 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.567e-05/0.005436, allocations: 352 / 249.3 MB, free: 9.152 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.005477, allocations: 63.38 kB / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.005477, allocations: 0 / 249.4 MB, free: 9.09 MB / 250.7 MB Notification: Performance of Templates: time 0.001891/0.007368, allocations: 0.6906 MB / 250.1 MB, free: 8.422 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.5820945845916867]