Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009435/0.0009435, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.000927/0.000927, allocations: 146.8 kB / 24.89 MB, free: 8.777 MB / 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.9543/0.9543, allocations: 173.4 MB / 201.5 MB, free: 9.207 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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.548e-05, allocations: 9.906 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001856/0.001872, allocations: 1.608 MB / 270.1 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.002172, allocations: 155.3 kB / 270.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.002234, allocations: 0 / 270.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.258e-05/0.002317, allocations: 11.88 kB / 270.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.488e-05/0.002392, allocations: 7.938 kB / 270.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.002539, allocations: 43.77 kB / 270.3 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.002617, allocations: 39.86 kB / 270.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.166e-05/0.002689, allocations: 15.97 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.002727, allocations: 15.98 kB / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.002752, allocations: 15.92 kB / 270.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.002768, allocations: 4 kB / 270.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-06/0.002775, allocations: 0 / 270.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.002813, allocations: 19.92 kB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.002835, allocations: 19.92 kB / 270.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.6e-05/0.002911, allocations: 35.84 kB / 270.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002912, allocations: 0 / 270.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.002913, allocations: 0 / 270.5 MB, free: 4.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.002915, allocations: 0 / 270.5 MB, free: 4.168 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.0002553/0.003171, allocations: 272.7 kB / 270.8 MB, free: 3.875 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.003199, allocations: 8.922 kB / 270.8 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.003221, allocations: 8.922 kB / 270.8 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.003349, allocations: 152.4 kB / 270.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.003361, allocations: 4.375 kB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-06/0.003367, allocations: 4.375 kB / 270.9 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.003507, allocations: 116.8 kB / 271 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.003512, allocations: 192 / 271 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.003518, allocations: 384 / 271 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.003537, allocations: 12.34 kB / 271.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.003554, allocations: 14.7 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.003728, allocations: 247 kB / 271.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.00378, allocations: 70.69 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.003796, allocations: 18.58 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.003802, allocations: 4 kB / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.00382, allocations: 34.5 kB / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.003821, allocations: 0 / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001063/0.003927, allocations: 57.56 kB / 271.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.003968, allocations: 107.2 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.004038, allocations: 138.6 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004046, allocations: 25.7 kB / 271.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.004074, allocations: 92.11 kB / 271.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.004082, allocations: 7.938 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.004105, allocations: 17.67 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.00417, allocations: 314.8 kB / 272.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.004178, allocations: 7.938 kB / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.004191, allocations: 13.7 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.004214, allocations: 24.55 kB / 272.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.004216, allocations: 4.062 kB / 272.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.789e-05/0.004254, allocations: 41.62 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.004263, allocations: 4 kB / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004267, allocations: 0 / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.004276, allocations: 3.938 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-05/0.00429, allocations: 12 kB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004292, allocations: 0 / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.004309, allocations: 0 / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.004312, allocations: 4 kB / 272.3 MB, free: 2.129 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[1],sample1.u[2]) * 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.151e-05/0.004364, allocations: 116.7 kB / 272.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.004404, allocations: 41.62 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.004424, allocations: 15.95 kB / 272.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.004434, allocations: 7.938 kB / 272.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.004436, allocations: 3.938 kB / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004438, allocations: 0 / 272.5 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.004539, allocations: 73.88 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.004541, allocations: 4 kB / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.004544, allocations: 0 / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.004545, allocations: 0 / 272.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.00455, allocations: 8.031 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.00455, allocations: 0 / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004551, allocations: 0 / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.004627, allocations: 222.4 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.004651, allocations: 19.94 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.004659, allocations: 0 / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.004707, allocations: 4 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.00473, allocations: 3.938 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.004732, allocations: 0 / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.00475, allocations: 27.48 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00475, allocations: 8.031 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000139/0.004889, allocations: 4 kB / 272.8 MB, free: 1.52 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[1],sample1.u[2],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.71e-05/0.004946, allocations: 84.41 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.841e-05/0.004995, allocations: 16.8 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.004998, allocations: 4 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.00501, allocations: 8.859 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.005221, allocations: 23.69 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.005684, allocations: 180.1 kB / 273.2 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.005721, allocations: 63.34 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.396e-05/0.005735, allocations: 256 / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.005777, allocations: 59.36 kB / 273.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005777, allocations: 0 / 273.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of Templates: time 0.001862/0.00764, allocations: 0.671 MB / 273.9 MB, free: 380 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.3382303616963327]