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.001929/0.001929, allocations: 90.31 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002258/0.002258, allocations: 157.5 kB / 23.95 MB, free: 4.145 MB / 14.72 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.529/1.529, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/4.025e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.004225/0.004265, allocations: 1.539 MB / 326.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.0048, allocations: 150.6 kB / 326.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004911, allocations: 5.281 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.005028, allocations: 5.156 kB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.00514, allocations: 12.22 kB / 326.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.005423, allocations: 40.8 kB / 326.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.005562, allocations: 40.38 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.005688, allocations: 14.88 kB / 326.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.005751, allocations: 20.91 kB / 326.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.005797, allocations: 12.83 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.005824, allocations: 2.094 kB / 326.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.005838, allocations: 7.75 kB / 326.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.005902, allocations: 15 kB / 326.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.005955, allocations: 18.44 kB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.006138, allocations: 49.28 kB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.006143, allocations: 4.969 kB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.006145, allocations: 0 / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.006151, allocations: 0 / 326.9 MB, free: 15.23 MB / 302.1 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.0005852/0.006736, allocations: 292.5 kB / 327.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.006791, allocations: 13.33 kB / 327.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.006848, allocations: 8.984 kB / 327.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.00725, allocations: 142.7 kB / 327.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.00728, allocations: 6.219 kB / 327.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.007299, allocations: 7.125 kB / 327.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.007698, allocations: 119.1 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.007711, allocations: 0.8906 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.007724, allocations: 1.594 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.007755, allocations: 3.141 kB / 327.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.007876, allocations: 36.98 kB / 327.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.008377, allocations: 305.2 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.008531, allocations: 83.08 kB / 327.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.00861, allocations: 35.33 kB / 328 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.008626, allocations: 1.438 kB / 328 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.008673, allocations: 34.44 kB / 328 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.008674, allocations: 0 / 328 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003581/0.009033, allocations: 99.44 kB / 328.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.009119, allocations: 108.6 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.009267, allocations: 143.8 kB / 328.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.009284, allocations: 25.7 kB / 328.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.009348, allocations: 88.17 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.009364, allocations: 9.391 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.009407, allocations: 19.12 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.00956, allocations: 315 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.009606, allocations: 7.625 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.009655, allocations: 27.02 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.309e-05/0.009748, allocations: 31.64 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00975, allocations: 0 / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001622/0.009912, allocations: 56.06 kB / 328.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.00993, allocations: 9.312 kB / 328.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.009936, allocations: 1.188 kB / 328.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.009952, allocations: 5.953 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.969e-05/0.009972, allocations: 1.094 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.009977, allocations: 0 / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.01002, allocations: 6.969 kB / 328.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.01002, allocations: 5.719 kB / 328.9 MB, free: 13.36 MB / 302.1 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.0001145/0.01014, allocations: 124 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.01024, allocations: 56.72 kB / 329.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.01028, allocations: 12.25 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.0103, allocations: 2.656 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.0103, allocations: 6.688 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0103, allocations: 3.938 kB / 329.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01051, allocations: 124 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01051, allocations: 0 / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.01052, allocations: 0.6094 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01052, allocations: 0 / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01053, allocations: 7.562 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01053, allocations: 0.7969 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01053, allocations: 0 / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.01079, allocations: 257.9 kB / 329.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.01083, allocations: 15.94 kB / 329.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01085, allocations: 6.891 kB / 329.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.01095, allocations: 2.906 kB / 329.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.01099, allocations: 8.203 kB / 329.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01101, allocations: 6 kB / 329.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.783e-05/0.0111, allocations: 105.3 kB / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0111, allocations: 0 / 329.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.01138, allocations: 6.203 kB / 329.7 MB, free: 12.71 MB / 302.1 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.0001261/0.0115, allocations: 101 kB / 329.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01167, allocations: 33.48 kB / 329.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01168, allocations: 0 / 329.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.01173, allocations: 18.12 kB / 329.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.01218, allocations: 24.72 kB / 329.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.01259, allocations: 176.5 kB / 330 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.01268, allocations: 80.11 kB / 330.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.01272, allocations: 15.05 kB / 330.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.01275, allocations: 13.97 kB / 330.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.01275, allocations: 1.5 kB / 330.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Templates: time 0.003472/0.01623, allocations: 0.6467 MB / 330.8 MB, free: 12.25 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.449553698301315]