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.001898/0.001898, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002453/0.002453, allocations: 215.1 kB / 23.74 MB, free: 4.656 MB / 14.72 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.711/1.711, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 55.84 kB / 378.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3716, allocations: 53.35 MB / 431.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00354/0.3752, allocations: 1.54 MB / 433.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000491/0.3757, allocations: 151.5 kB / 433.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.3758, allocations: 11.88 kB / 433.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.3759, allocations: 3.938 kB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.376, allocations: 3.938 kB / 433.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3763, allocations: 47.83 kB / 433.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3764, allocations: 35.86 kB / 433.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3766, allocations: 19.97 kB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.3766, allocations: 19.92 kB / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.3766, allocations: 11.94 kB / 433.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.3767, allocations: 4 kB / 433.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3767, allocations: 0 / 433.5 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.3767, allocations: 27.91 kB / 433.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.3768, allocations: 19.81 kB / 433.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3769, allocations: 55.53 kB / 433.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.377, allocations: 4 kB / 433.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.377, allocations: 4 kB / 433.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.377, allocations: 4 kB / 433.6 MB, free: 5.012 MB / 334.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.0005907/0.3776, allocations: 299.4 kB / 433.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3776, allocations: 8.031 kB / 433.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.3776, allocations: 8.891 kB / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3779, allocations: 138.4 kB / 434 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.378, allocations: 4.375 kB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.378, allocations: 384 / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.3783, allocations: 126.4 kB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3783, allocations: 192 / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3783, allocations: 7.938 kB / 434.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.3784, allocations: 4 kB / 434.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3785, allocations: 27.92 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.379, allocations: 336.9 kB / 434.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3791, allocations: 79.72 kB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.3792, allocations: 38.56 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3792, allocations: 0 / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3793, allocations: 34.56 kB / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3793, allocations: 0 / 434.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003322/0.3796, allocations: 97.86 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.3797, allocations: 106.8 kB / 434.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3798, allocations: 140.8 kB / 435 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3798, allocations: 25.7 kB / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.3799, allocations: 96.06 kB / 435.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3799, allocations: 3.953 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.38, allocations: 21.72 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3801, allocations: 322.9 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.3802, allocations: 8 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.3802, allocations: 35.42 kB / 435.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3804, allocations: 59.3 kB / 435.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3804, allocations: 0 / 435.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.3805, allocations: 73.56 kB / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3805, allocations: 4 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3805, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3806, allocations: 4 kB / 435.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.3806, allocations: 7.922 kB / 435.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3806, allocations: 4.125 kB / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.3806, allocations: 8 kB / 435.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3806, allocations: 4 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001437/0.3808, allocations: 129.7 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.3809, allocations: 45.66 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.3809, allocations: 19.91 kB / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.3809, allocations: 4 kB / 435.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.381, allocations: 32 / 435.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.381, allocations: 4 kB / 435.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3812, allocations: 148.7 kB / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3812, allocations: 0 / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.3812, allocations: 7.938 kB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3812, allocations: 0 / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3812, allocations: 3.938 kB / 436 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3812, allocations: 4 kB / 436 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3812, allocations: 3.984 kB / 436 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.3815, allocations: 263.6 kB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3816, allocations: 15.94 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3816, allocations: 0 / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/0.3817, allocations: 4 kB / 436.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3818, allocations: 3.938 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3818, allocations: 4 kB / 436.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.3819, allocations: 111.2 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3819, allocations: 0 / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3822, allocations: 4 kB / 436.4 MB, free: 1.816 MB / 334.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.0001711/0.3823, allocations: 99.25 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3826, allocations: 43.91 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3826, allocations: 0 / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.3826, allocations: 16.23 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.3832, allocations: 32.39 kB / 436.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.3838, allocations: 175.2 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.3843, allocations: 0.6924 MB / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.3843, allocations: 7.984 kB / 437.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.3844, allocations: 15.66 kB / 437.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3844, allocations: 0 / 437.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of Templates: time 0.005024/0.3894, allocations: 0.636 MB / 438.1 MB, free: 60 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.238410361111164]