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.0008951/0.0008951, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008521/0.0008521, allocations: 143 kB / 24.89 MB, free: 8.781 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.8914/0.8914, allocations: 173.4 MB / 201.5 MB, free: 8.73 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.093e-06/1.093e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.542e-05, allocations: 2.312 kB / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001821/0.001837, allocations: 1.573 MB / 270 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000302/0.002139, allocations: 147.4 kB / 270.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.002201, allocations: 0 / 270.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.562e-05/0.002286, allocations: 7.922 kB / 270.2 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.002362, allocations: 7.938 kB / 270.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.002514, allocations: 39.83 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.002594, allocations: 39.86 kB / 270.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.002669, allocations: 15.97 kB / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.002712, allocations: 23.92 kB / 270.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.775e-05/0.002739, allocations: 15.92 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.002761, allocations: 4 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.002769, allocations: 0 / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.002813, allocations: 15.94 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.002836, allocations: 19.91 kB / 270.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.935e-05/0.002915, allocations: 35.84 kB / 270.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002917, allocations: 0 / 270.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002917, allocations: 0 / 270.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.00292, allocations: 0 / 270.4 MB, free: 4.066 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.0002917/0.003211, allocations: 280.6 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.00324, allocations: 8.922 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.003265, allocations: 4.938 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.003398, allocations: 141.5 kB / 270.8 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.003414, allocations: 4.375 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.003424, allocations: 8.312 kB / 270.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.003573, allocations: 120.7 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.003579, allocations: 192 / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.003584, allocations: 4.375 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.003604, allocations: 4.375 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.00362, allocations: 14.75 kB / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.003796, allocations: 254.9 kB / 271.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.744e-05/0.003853, allocations: 66.72 kB / 271.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.00387, allocations: 14.58 kB / 271.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.003877, allocations: 4 kB / 271.3 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.003894, allocations: 38.55 kB / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.003894, allocations: 0 / 271.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001082/0.004003, allocations: 61.5 kB / 271.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.004052, allocations: 106.8 kB / 271.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.004116, allocations: 134.6 kB / 271.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.004125, allocations: 25.7 kB / 271.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.004153, allocations: 88.06 kB / 271.8 MB, free: 2.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.004161, allocations: 11.94 kB / 271.8 MB, free: 2.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004185, allocations: 25.64 kB / 271.8 MB, free: 2.465 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.00425, allocations: 311.2 kB / 272.1 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.004257, allocations: 8 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.004268, allocations: 9.719 kB / 272.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.004294, allocations: 32.47 kB / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004296, allocations: 0 / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.603e-05/0.004332, allocations: 37.64 kB / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.004341, allocations: 4 kB / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.004344, allocations: 0 / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.004354, allocations: 8.062 kB / 272.2 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.547e-05/0.004369, allocations: 7.984 kB / 272.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004372, allocations: 0 / 272.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.004391, allocations: 4 kB / 272.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004396, allocations: 7.984 kB / 272.2 MB, free: 2.016 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.422e-05/0.00445, allocations: 112.7 kB / 272.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.004489, allocations: 41.62 kB / 272.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004508, allocations: 11.97 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.004519, allocations: 7.938 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.00452, allocations: 0 / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.004522, allocations: 4.031 kB / 272.4 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.004625, allocations: 73.88 kB / 272.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.004628, allocations: 4 kB / 272.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.00463, allocations: 0 / 272.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004631, allocations: 0 / 272.5 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.004635, allocations: 3.984 kB / 272.5 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004636, allocations: 4 kB / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.004637, allocations: 0 / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.575e-05/0.004712, allocations: 222.4 kB / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.004736, allocations: 15.95 kB / 272.7 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.004744, allocations: 4.031 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.004794, allocations: 4 kB / 272.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.004819, allocations: 7.922 kB / 272.7 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.004822, allocations: 4 kB / 272.7 MB, free: 1.445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.129e-05/0.004843, allocations: 28.11 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004843, allocations: 3.938 kB / 272.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.005, allocations: 8 kB / 272.8 MB, free: 1.406 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 6.307e-05/0.005063, allocations: 80.42 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.823e-05/0.005112, allocations: 24.78 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.005114, allocations: 4 kB / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.005124, allocations: 4.859 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.005331, allocations: 23.41 kB / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.005545, allocations: 179.6 kB / 273.1 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.005583, allocations: 62.11 kB / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.456e-05/0.005597, allocations: 4.578 kB / 273.1 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.005642, allocations: 59.38 kB / 273.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005643, allocations: 0 / 273.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of Templates: time 0.001863/0.007506, allocations: 0.6542 MB / 273.9 MB, free: 280 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 -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.3970540799200535]