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.001018/0.001018, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004913/0.005931, allocations: 449.8 kB / 10.44 MB, free: 248 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.001036/0.001036, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003803/0.004839, allocations: 479.5 kB / 11.82 MB, free: 2.34 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 1.045/1.045, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.156, allocations: 53.67 MB / 243.4 MB, free: 15.51 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 1.793e-06/1.793e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.404e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002017/0.002041, allocations: 1.634 MB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.002279, allocations: 156.1 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.002356, allocations: 7.938 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.002406, allocations: 3.938 kB / 246.5 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.002461, allocations: 11.86 kB / 246.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.002607, allocations: 31.91 kB / 246.5 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002714, allocations: 47.84 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00282, allocations: 15.92 kB / 246.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.462e-05/0.002885, allocations: 23.92 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.002922, allocations: 15.97 kB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.002946, allocations: 4 kB / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.002957, allocations: 0 / 246.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.003012, allocations: 11.94 kB / 246.7 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.003038, allocations: 11.94 kB / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003138, allocations: 39.78 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.00315, allocations: 0 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003151, allocations: 0 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.003165, allocations: 4 kB / 246.7 MB, free: 12.2 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.0003903/0.003555, allocations: 288.3 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.003592, allocations: 8.031 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.003627, allocations: 12.92 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.003886, allocations: 133.6 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.003907, allocations: 4.359 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.003922, allocations: 12.36 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.004106, allocations: 112.8 kB / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.004114, allocations: 192 / 247.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.004121, allocations: 4.312 kB / 247.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.004151, allocations: 8.359 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.004171, allocations: 14.75 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.004375, allocations: 254.9 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.778e-05/0.004433, allocations: 62.58 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.004458, allocations: 30.69 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.004464, allocations: 4 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.004486, allocations: 34.56 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.004487, allocations: 0 / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001252/0.004612, allocations: 57.5 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.004671, allocations: 102.8 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.004745, allocations: 141.6 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.004755, allocations: 29.7 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.004796, allocations: 92.05 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.00481, allocations: 4.328 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.004835, allocations: 21.72 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.004912, allocations: 318.8 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.004919, allocations: 3.984 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.004932, allocations: 13.72 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.004958, allocations: 20.48 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.004962, allocations: 4 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.891e-05/0.005001, allocations: 37.69 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005013, allocations: 8.062 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005018, allocations: 4 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.005034, allocations: 3.938 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-05/0.005049, allocations: 4 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005052, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.005072, allocations: 0 / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.005079, allocations: 4 kB / 248.5 MB, free: 10.15 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.946e-05/0.005148, allocations: 112.7 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.005186, allocations: 37.7 kB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.005209, allocations: 11.95 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.005223, allocations: 7.969 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005225, allocations: 4 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005228, allocations: 0 / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.005332, allocations: 73.88 kB / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005334, allocations: 0 / 248.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.005337, allocations: 7.938 kB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.00536, allocations: 15.94 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005362, allocations: 4 kB / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005366, allocations: 0 / 248.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001538/0.00552, allocations: 3.984 kB / 248.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.005522, allocations: 3.938 kB / 248.8 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.00563, allocations: 218.5 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.00564, allocations: 4 kB / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.005689, allocations: 0 / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.005727, allocations: 15.88 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.005732, allocations: 0 / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.82e-05/0.00575, allocations: 24.83 kB / 249.1 MB, free: 9.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00575, allocations: 3.938 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.005888, allocations: 11.94 kB / 249.1 MB, free: 9.543 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 7.763e-05/0.005966, allocations: 84.44 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.006031, allocations: 16.86 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.006034, allocations: 4 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.006052, allocations: 16.78 kB / 249.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.006311, allocations: 116.5 kB / 249.3 MB, free: 9.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.00671, allocations: 172.6 kB / 249.5 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.00675, allocations: 63.34 kB / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.006765, allocations: 4 kB / 249.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.00682, allocations: 55.38 kB / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006821, allocations: 0 / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of Templates: time 0.002212/0.009033, allocations: 0.6825 MB / 250.3 MB, free: 8.273 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.533167469315231]