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.0009511/0.0009511, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002252, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006822/0.0006822, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008687/0.001551, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9957/0.9957, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09027/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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 1.643e-06/1.643e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.31e-05, allocations: 6.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003149/0.003172, allocations: 1.619 MB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003165/0.003488, allocations: 160.1 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.003569, allocations: 4 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.295e-05/0.003642, allocations: 7.938 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.00371, allocations: 11.86 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.003918, allocations: 31.91 kB / 246.8 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.004034, allocations: 39.86 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004135, allocations: 15.91 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.004208, allocations: 31.92 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.004247, allocations: 11.98 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.004273, allocations: 4 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.004286, allocations: 4 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.004341, allocations: 15.92 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.004376, allocations: 11.94 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.004486, allocations: 39.78 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.778e-05/0.004504, allocations: 0 / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004505, allocations: 0 / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.004528, allocations: 0 / 247 MB, free: 11.64 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.0004279/0.004956, allocations: 280.3 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.004992, allocations: 12.62 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.005029, allocations: 8.922 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.005224, allocations: 145.6 kB / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.005244, allocations: 384 / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.005253, allocations: 4.375 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.005471, allocations: 116.8 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.005482, allocations: 8.109 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.00549, allocations: 384 / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.005522, allocations: 4.375 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.005553, allocations: 18.77 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.005813, allocations: 258.9 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.005893, allocations: 62.58 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.005918, allocations: 18.7 kB / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.005925, allocations: 0 / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.005952, allocations: 38.56 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005953, allocations: 0 / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001501/0.006103, allocations: 61.84 kB / 248 MB, free: 10.47 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.006158, allocations: 102.8 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.006249, allocations: 137.6 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.006262, allocations: 29.7 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.006304, allocations: 92.06 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.006317, allocations: 7.938 kB / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006352, allocations: 13.72 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.00645, allocations: 322.8 kB / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006459, allocations: 0 / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.006476, allocations: 13.72 kB / 248.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.00651, allocations: 24.58 kB / 248.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.006513, allocations: 0 / 248.8 MB, free: 9.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.172e-05/0.006565, allocations: 45.62 kB / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006577, allocations: 8 kB / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006584, allocations: 4 kB / 248.8 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.006594, allocations: 3.938 kB / 248.8 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.006612, allocations: 0 / 248.8 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-06/0.006616, allocations: 4 kB / 248.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.006638, allocations: 64 / 248.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.006642, allocations: 7.984 kB / 248.8 MB, free: 9.59 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 6.252e-05/0.006705, allocations: 112.7 kB / 248.9 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.006745, allocations: 33.7 kB / 249 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.006769, allocations: 15.95 kB / 249 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.006786, allocations: 3.938 kB / 249 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006788, allocations: 4 kB / 249 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.006791, allocations: 3.938 kB / 249 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.0069, allocations: 73.88 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006903, allocations: 0 / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.006907, allocations: 8.031 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.006938, allocations: 11.94 kB / 249.1 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006941, allocations: 4 kB / 249.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.006944, allocations: 0 / 249.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.006946, allocations: 0 / 249.1 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.006949, allocations: 7.922 kB / 249.1 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.007041, allocations: 222.5 kB / 249.3 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.00705, allocations: 7.938 kB / 249.3 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.267e-05/0.007103, allocations: 0 / 249.3 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.007133, allocations: 7.938 kB / 249.3 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.007138, allocations: 8.016 kB / 249.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.00716, allocations: 24.84 kB / 249.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00716, allocations: 3.938 kB / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00014/0.0073, allocations: 7.938 kB / 249.4 MB, free: 8.98 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 8.945e-05/0.007389, allocations: 80.42 kB / 249.5 MB, free: 8.891 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.988e-05/0.007449, allocations: 20.78 kB / 249.5 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.007453, allocations: 0 / 249.5 MB, free: 8.867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.007467, allocations: 16.97 kB / 249.5 MB, free: 8.848 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.007695, allocations: 22.69 kB / 249.5 MB, free: 8.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.008071, allocations: 184 kB / 249.7 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.779e-05/0.008109, allocations: 63.34 kB / 249.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.008126, allocations: 0 / 249.8 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.008175, allocations: 63.36 kB / 249.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008176, allocations: 0 / 249.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Templates: time 0.002156/0.01033, allocations: 0.6733 MB / 250.5 MB, free: 7.812 MB / 250.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 -ignoreHideResult -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.4452167693525553]