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.001115/0.001115, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002677, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002407, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9911/0.9911, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09525/1.086, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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 6.01e-07/6.01e-07, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.853e-06/7.454e-06, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001715/0.001723, allocations: 1.637 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.001928, allocations: 148.1 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.001984, allocations: 0 / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.002026, allocations: 3.938 kB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.002076, allocations: 19.91 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.002205, allocations: 35.89 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.002299, allocations: 43.8 kB / 246.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.002392, allocations: 11.94 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.002451, allocations: 27.95 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.002481, allocations: 15.92 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.002502, allocations: 4 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.002512, allocations: 4 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.002553, allocations: 11.94 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.002578, allocations: 11.94 kB / 246.5 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.002657, allocations: 35.8 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.00267, allocations: 0 / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00267, allocations: 0 / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.002683, allocations: 0 / 246.5 MB, free: 12.32 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.0003337/0.003017, allocations: 284.3 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.003045, allocations: 12.02 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.003073, allocations: 8.938 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.003216, allocations: 141.5 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.003233, allocations: 4.375 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-06/0.00324, allocations: 384 / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.003413, allocations: 116.8 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003421, allocations: 8.125 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.003428, allocations: 4.375 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.00345, allocations: 384 / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.003472, allocations: 14.77 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.003662, allocations: 251 kB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.00372, allocations: 70.61 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.003739, allocations: 18.64 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.003744, allocations: 0 / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.003764, allocations: 38.56 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.003765, allocations: 0 / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001104/0.003875, allocations: 61.5 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.003923, allocations: 106.8 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.003988, allocations: 134.6 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.003996, allocations: 25.7 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.004027, allocations: 92.12 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.004034, allocations: 3.953 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.004059, allocations: 14.09 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.004129, allocations: 326.8 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.004134, allocations: 0 / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.004147, allocations: 13.72 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.004169, allocations: 20.48 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.004171, allocations: 0 / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.93e-05/0.004211, allocations: 49.62 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.00422, allocations: 4 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004226, allocations: 4 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.004235, allocations: 8.062 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.004258, allocations: 0 / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004262, allocations: 3.984 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.004281, allocations: 4 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.004285, allocations: 0 / 248.3 MB, free: 10.27 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.459e-05/0.004349, allocations: 116.6 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.004389, allocations: 41.67 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.004408, allocations: 7.969 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.004419, allocations: 7.938 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.004422, allocations: 4.016 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.004426, allocations: 8 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.004531, allocations: 73.88 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.004534, allocations: 3.938 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-06/0.004538, allocations: 0 / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.00456, allocations: 15.94 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.004562, allocations: 0 / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.004566, allocations: 4 kB / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004567, allocations: 0 / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.004569, allocations: 3.938 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.004652, allocations: 222.5 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-06/0.00466, allocations: 0 / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.92e-05/0.00471, allocations: 4 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.004734, allocations: 11.86 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.004738, allocations: 4 kB / 248.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.853e-05/0.004757, allocations: 28.11 kB / 248.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004757, allocations: 0 / 248.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.004896, allocations: 11.94 kB / 248.9 MB, free: 9.66 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.277e-05/0.004958, allocations: 80.42 kB / 249 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.005013, allocations: 28.81 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005016, allocations: 0 / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.005027, allocations: 8.859 kB / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.005478, allocations: 26.16 kB / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.005813, allocations: 180.1 kB / 249.2 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.005855, allocations: 63.28 kB / 249.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.665e-05/0.005872, allocations: 4.344 kB / 249.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.005926, allocations: 59.38 kB / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005927, allocations: 0 / 249.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of Templates: time 0.002127/0.008054, allocations: 0.6723 MB / 250 MB, free: 8.492 MB / 250.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 -ignoreHideResult -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.450414154678583]