Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001252/0.001252, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.00136/0.00136, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 18.57 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.583e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003916/0.003952, allocations: 1.57 MB / 274.6 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005109/0.004462, allocations: 155.4 kB / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004564, allocations: 0 / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.004697, allocations: 15.86 kB / 274.8 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.004818, allocations: 3.938 kB / 274.8 MB, free: 88 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.00512, allocations: 43.83 kB / 274.8 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.005259, allocations: 39.8 kB / 274.9 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.005427, allocations: 11.98 kB / 274.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.005499, allocations: 23.97 kB / 274.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.00554, allocations: 11.92 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.005574, allocations: 4 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.005586, allocations: 4 kB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.005658, allocations: 15.94 kB / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.005705, allocations: 15.92 kB / 275 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.005847, allocations: 35.84 kB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005852, allocations: 0 / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005853, allocations: 0 / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005858, allocations: 0 / 275 MB, free: 15.88 MB / 266.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.000547/0.006405, allocations: 400.3 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.006451, allocations: 8.031 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.006508, allocations: 16.84 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.006757, allocations: 147.1 kB / 275.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.006782, allocations: 4.375 kB / 275.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.006796, allocations: 4.375 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.007127, allocations: 129.2 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.00714, allocations: 4.188 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.007152, allocations: 384 / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.0072, allocations: 384 / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.007243, allocations: 19.88 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.007747, allocations: 410.3 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.007857, allocations: 85.19 kB / 276.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.007894, allocations: 27.19 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.007902, allocations: 0 / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.007935, allocations: 49.31 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.007936, allocations: 0 / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.008169, allocations: 61.88 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.008242, allocations: 110.8 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.00838, allocations: 189.9 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.008396, allocations: 25.7 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.008468, allocations: 134.9 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.008483, allocations: 7.891 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.008535, allocations: 27.36 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003588/0.008894, allocations: 496.1 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.00891, allocations: 0 / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.008938, allocations: 27.31 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.00898, allocations: 23.47 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.008983, allocations: 0 / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.009085, allocations: 53.58 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.009102, allocations: 11.94 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.009107, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.009123, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.985e-05/0.009143, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.00915, allocations: 4 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.009195, allocations: 0 / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.009202, allocations: 8.062 kB / 277.4 MB, free: 13.15 MB / 266.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 0.0001059/0.009308, allocations: 160.5 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.009403, allocations: 49.59 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.009444, allocations: 7.906 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.009474, allocations: 7.984 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.009478, allocations: 0 / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.009484, allocations: 3.938 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.0097, allocations: 128.6 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.009706, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.009717, allocations: 8.031 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.009721, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.00973, allocations: 0 / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.009734, allocations: 3.938 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.009739, allocations: 4 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.009952, allocations: 326.7 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.009996, allocations: 23.92 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01001, allocations: 0 / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01012, allocations: 7.938 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.01018, allocations: 3.984 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.01018, allocations: 4 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.38e-05/0.01028, allocations: 149.5 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01028, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01056, allocations: 4 kB / 278.3 MB, free: 12.21 MB / 266.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 0.000133/0.01069, allocations: 107.2 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.0108, allocations: 19.62 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.0108, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.01083, allocations: 15.69 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.01128, allocations: 20.83 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.01172, allocations: 180.6 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.01179, allocations: 63.34 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.01183, allocations: 4 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01187, allocations: 8.5 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.472e-06/0.01187, allocations: 0 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of Templates: time 0.003037/0.01491, allocations: 0.6716 MB / 279.4 MB, free: 11.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.891172878909856]