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.001002/0.001002, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001021/0.001021, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.072/1.072, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.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 2.374e-06/2.374e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.889e-05/4.127e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003636/0.003677, allocations: 1.579 MB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003645/0.004042, allocations: 147.5 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.004128, allocations: 4 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.004246, allocations: 11.86 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004359, allocations: 11.92 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.004592, allocations: 39.83 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.004703, allocations: 35.86 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004819, allocations: 11.98 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.004866, allocations: 23.92 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.004898, allocations: 15.91 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.004923, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004935, allocations: 8 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.004993, allocations: 11.94 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.005032, allocations: 15.92 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.005159, allocations: 35.84 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005162, allocations: 0 / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005163, allocations: 0 / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.005169, allocations: 0 / 274.9 MB, free: 15.55 MB / 266.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.0004462/0.005615, allocations: 408.3 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.005657, allocations: 8.031 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.005702, allocations: 16.84 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.00589, allocations: 144.4 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.005912, allocations: 4.375 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.005925, allocations: 384 / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.006188, allocations: 129.3 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.006199, allocations: 192 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006211, allocations: 384 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.006252, allocations: 384 / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.933e-05/0.006281, allocations: 15.94 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.006682, allocations: 414.3 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.006762, allocations: 81.19 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.006794, allocations: 31.19 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.006801, allocations: 0 / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.006831, allocations: 41.38 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.006832, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001863/0.007018, allocations: 61.78 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.007084, allocations: 110.9 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007193, allocations: 195.8 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.007204, allocations: 25.7 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.007262, allocations: 138.9 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.007274, allocations: 7.891 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.007303, allocations: 27.36 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.007444, allocations: 0.4884 MB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.007454, allocations: 0 / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.007474, allocations: 23.31 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.007499, allocations: 23.44 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0075, allocations: 3.938 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.952e-05/0.00756, allocations: 53.58 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.007573, allocations: 7.938 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007578, allocations: 0 / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007593, allocations: 4 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-05/0.00761, allocations: 4 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007616, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.007638, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.007646, allocations: 8.062 kB / 277.4 MB, free: 12.82 MB / 266.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 8.127e-05/0.007727, allocations: 160.6 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.007777, allocations: 49.58 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.007803, allocations: 7.906 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.007816, allocations: 11.98 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.007821, allocations: 0 / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.007825, allocations: 4 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.007951, allocations: 120.6 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007953, allocations: 0 / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-06/0.007957, allocations: 4 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007959, allocations: 4.031 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.007964, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.007967, allocations: 7.938 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007969, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.008118, allocations: 330.7 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.008146, allocations: 15.94 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.008155, allocations: 0 / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.008207, allocations: 7.938 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.008239, allocations: 7.984 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.008242, allocations: 4 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.008292, allocations: 145.8 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008292, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000157/0.008449, allocations: 4 kB / 278.2 MB, free: 11.88 MB / 266.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.726e-05/0.008527, allocations: 110.6 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.303e-05/0.0086, allocations: 23.62 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008601, allocations: 0 / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.008616, allocations: 11.69 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.008889, allocations: 32.75 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.009163, allocations: 176.6 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.009208, allocations: 63.34 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.009229, allocations: 4 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.009258, allocations: 12.5 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.009259, allocations: 4 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002492/0.01175, allocations: 0.6606 MB / 279.3 MB, free: 10.73 MB / 266.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 -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: 3.0775010720826685]