Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 83.67 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 159.5 kB / 24.99 MB, free: 9.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.032/1.032, allocations: 177 MB / 205.2 MB, free: 5.18 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 273 MB, free: 1.613 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.842e-05, allocations: 2.312 kB / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003451/0.003479, allocations: 1.579 MB / 274.6 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.003945, allocations: 155.4 kB / 274.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.00405, allocations: 4 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.004213, allocations: 3.938 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.004337, allocations: 15.86 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.004634, allocations: 35.84 kB / 274.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.004774, allocations: 43.83 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.004929, allocations: 12 kB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.005, allocations: 23.91 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.005032, allocations: 8 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.005058, allocations: 0 / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.00507, allocations: 4 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.005143, allocations: 19.91 kB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005187, allocations: 19.94 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.005335, allocations: 43.77 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005338, allocations: 0 / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005339, allocations: 0 / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.005345, allocations: 0 / 274.9 MB, free: 15.64 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.0006147/0.00596, allocations: 392.4 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.006021, allocations: 15.98 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.006086, allocations: 16.84 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.00631, allocations: 144.4 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.006339, allocations: 8.375 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.006354, allocations: 4.375 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.00671, allocations: 121.3 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.00672, allocations: 192 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006731, allocations: 384 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.006775, allocations: 8.359 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.006814, allocations: 11.88 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.007336, allocations: 418.3 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.007441, allocations: 85.25 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.007477, allocations: 23.06 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.007488, allocations: 8.062 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.007517, allocations: 33.39 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.007519, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.007752, allocations: 69.45 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.007819, allocations: 103.2 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.007976, allocations: 205 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.007994, allocations: 25.7 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.008076, allocations: 134.9 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.008093, allocations: 11.89 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.00823, allocations: 23.38 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.008353, allocations: 496.1 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.008376, allocations: 8 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.008395, allocations: 15.38 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.008436, allocations: 27.31 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.008438, allocations: 4.062 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.101e-05/0.008529, allocations: 41.66 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.008552, allocations: 11.92 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008558, allocations: 4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.008576, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.008598, allocations: 3.938 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008604, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.008652, allocations: 7.938 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.00866, allocations: 4 kB / 277.4 MB, free: 12.91 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.000107/0.008767, allocations: 160.6 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.00887, allocations: 49.62 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.008899, allocations: 11.91 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.008919, allocations: 4 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.008924, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.008927, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.00913, allocations: 132.6 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.009134, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.009142, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009146, allocations: 0 / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.009154, allocations: 8.031 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.009157, allocations: 3.938 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009159, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.009341, allocations: 326.8 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.009385, allocations: 15.94 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.0094, allocations: 4 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.009507, allocations: 7.938 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.009555, allocations: 7.922 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.00956, allocations: 0 / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.009638, allocations: 147.2 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009638, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.009945, allocations: 8 kB / 278.2 MB, free: 11.96 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.0001219/0.01007, allocations: 95.25 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.01017, allocations: 23.67 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01018, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.0102, allocations: 15.62 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.01059, allocations: 24.52 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.01113, allocations: 181 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.01119, allocations: 59.34 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.01122, allocations: 11.92 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.01126, allocations: 12.5 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01126, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.003132/0.01439, allocations: 0.6708 MB / 279.3 MB, free: 10.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.947022372856736]