Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008619/0.0008619, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001945, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006244/0.0006244, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008714/0.001496, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.874/0.874, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07626/0.9503, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.255e-05, allocations: 5.688 kB / 239.7 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003134/0.003156, allocations: 1.622 MB / 241.3 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.003464, allocations: 157 kB / 241.5 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.003542, allocations: 7.938 kB / 241.5 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.774e-05/0.003609, allocations: 7.938 kB / 241.5 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.003685, allocations: 7.922 kB / 241.5 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.00387, allocations: 35.84 kB / 241.6 MB, free: 1.238 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003977, allocations: 39.86 kB / 241.6 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.004066, allocations: 19.92 kB / 241.6 MB, free: 1.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.004134, allocations: 27.91 kB / 241.6 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.00418, allocations: 8 kB / 241.7 MB, free: 1.145 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.004205, allocations: 4 kB / 241.7 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.004218, allocations: 4 kB / 241.7 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.004266, allocations: 15.92 kB / 241.7 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.004299, allocations: 19.94 kB / 241.7 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.004405, allocations: 47.66 kB / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.004417, allocations: 0 / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004418, allocations: 0 / 241.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.00443, allocations: 0 / 241.7 MB, free: 1.055 MB / 234.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.0003556/0.004785, allocations: 288.3 kB / 242 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.004813, allocations: 8.031 kB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.004843, allocations: 8.938 kB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004984, allocations: 133.6 kB / 242.2 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.004992, allocations: 8.375 kB / 242.2 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.005003, allocations: 8.359 kB / 242.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.005162, allocations: 116.8 kB / 242.3 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.005168, allocations: 192 / 242.3 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.005174, allocations: 4.375 kB / 242.3 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.005198, allocations: 384 / 242.3 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.005217, allocations: 18.7 kB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.00542, allocations: 262.9 kB / 242.6 MB, free: 116 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.005477, allocations: 58.59 kB / 242.6 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.00551, allocations: 22.7 kB / 242.7 MB, free: 16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.005516, allocations: 0 / 242.7 MB, free: 16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.005536, allocations: 38.55 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005537, allocations: 0 / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001214/0.005659, allocations: 61.44 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.0057, allocations: 111.2 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.005765, allocations: 141.6 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005773, allocations: 25.7 kB / 243 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.005805, allocations: 96.06 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-06/0.005813, allocations: 0 / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.005836, allocations: 17.72 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.005899, allocations: 318.8 kB / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.005904, allocations: 0 / 243.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.005917, allocations: 17.7 kB / 243.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.005941, allocations: 20.48 kB / 243.5 MB, free: 15.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005943, allocations: 4.062 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.843e-05/0.005982, allocations: 37.69 kB / 243.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.005993, allocations: 8 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005996, allocations: 0 / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.006008, allocations: 3.938 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.006056, allocations: 7.938 kB / 243.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.006059, allocations: 0 / 243.5 MB, free: 15.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.006076, allocations: 11.95 kB / 243.6 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.006081, allocations: 3.984 kB / 243.6 MB, free: 15 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 6.558e-05/0.006146, allocations: 124.7 kB / 243.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.006184, allocations: 33.7 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.006209, allocations: 15.91 kB / 243.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.006222, allocations: 3.938 kB / 243.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006224, allocations: 4 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006227, allocations: 0 / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.006334, allocations: 81.86 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.006336, allocations: 0 / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.006357, allocations: 11.94 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.006379, allocations: 11.94 kB / 243.8 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006382, allocations: 8.031 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.006385, allocations: 0 / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006387, allocations: 3.938 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006389, allocations: 3.938 kB / 243.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9e-05/0.006479, allocations: 214.5 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.006489, allocations: 4 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.00654, allocations: 4 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.006567, allocations: 15.86 kB / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.006571, allocations: 0 / 244.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.184e-05/0.006593, allocations: 28.83 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006593, allocations: 4.031 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.006729, allocations: 4 kB / 244.1 MB, free: 14.36 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 7.2e-05/0.006801, allocations: 84.41 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.32e-05/0.006854, allocations: 16.86 kB / 244.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.006859, allocations: 4 kB / 244.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.006873, allocations: 12.8 kB / 244.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.007116, allocations: 123.6 kB / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.00747, allocations: 176.1 kB / 244.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.00751, allocations: 63.34 kB / 244.6 MB, free: 13.81 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.918e-05/0.007529, allocations: 3.906 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.00758, allocations: 55.38 kB / 244.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007581, allocations: 3.938 kB / 244.7 MB, free: 13.75 MB / 250.7 MB Notification: Performance of Templates: time 0.002027/0.009608, allocations: 0.699 MB / 245.4 MB, free: 13.07 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.245399884879589]