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.0009484/0.0009484, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009121/0.0009121, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9264/0.9264, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.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.362e-06/1.362e-06, allocations: 3.938 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.46e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001952/0.001966, allocations: 1.622 MB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005601/0.002526, allocations: 147.4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.002607, allocations: 0 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.002704, allocations: 7.875 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.002798, allocations: 19.91 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.003003, allocations: 39.78 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.0031, allocations: 39.84 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.003195, allocations: 12 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.003241, allocations: 27.89 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.668e-05/0.003268, allocations: 8 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.003286, allocations: 4 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-06/0.003295, allocations: 0 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.003345, allocations: 19.92 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.00337, allocations: 11.94 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003471, allocations: 43.83 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.003474, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003475, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003479, allocations: 0 / 275.4 MB, free: 15.02 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.0002896/0.003769, allocations: 272.7 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.003798, allocations: 11.98 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.003825, allocations: 8.922 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.003962, allocations: 137.6 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.003977, allocations: 8.312 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.003984, allocations: 8.375 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.004153, allocations: 116.8 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.004161, allocations: 192 / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004168, allocations: 4.375 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.004191, allocations: 8.359 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.00421, allocations: 14.7 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.004417, allocations: 254.9 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.004478, allocations: 66.53 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.004503, allocations: 18.77 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.00451, allocations: 4 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.004534, allocations: 34.5 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.004535, allocations: 0 / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.004678, allocations: 57.56 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.004731, allocations: 110.8 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.004804, allocations: 134.1 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.004815, allocations: 33.7 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.004846, allocations: 84.12 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.004858, allocations: 11.89 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.004887, allocations: 17.72 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.004962, allocations: 318.8 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.004969, allocations: 3.938 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.004984, allocations: 13.72 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.005009, allocations: 16.55 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005011, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.751e-05/0.005058, allocations: 45.69 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.005068, allocations: 4 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005072, allocations: 0 / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005084, allocations: 3.938 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/0.0051, allocations: 4 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.005102, allocations: 0 / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.005126, allocations: 3.984 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005131, allocations: 4 kB / 277.2 MB, free: 12.98 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 6.219e-05/0.005193, allocations: 116.7 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.005239, allocations: 45.69 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.005259, allocations: 15.91 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.005272, allocations: 7.938 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005274, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005277, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.005384, allocations: 73.88 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.005387, allocations: 4 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.005392, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005393, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.005397, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005398, allocations: 8.031 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005399, allocations: 0 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.43e-05/0.005494, allocations: 222.4 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.005523, allocations: 15.92 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005532, allocations: 8 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.005583, allocations: 4 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.00561, allocations: 11.92 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.005614, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.079e-05/0.005634, allocations: 20.84 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005634, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.005772, allocations: 16.02 kB / 277.8 MB, free: 12.37 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 8.155e-05/0.005854, allocations: 80.42 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.609e-05/0.00591, allocations: 20.78 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.005912, allocations: 0 / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.005924, allocations: 8.859 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.006155, allocations: 23.36 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.006386, allocations: 176.5 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.006423, allocations: 59.34 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.00644, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.006488, allocations: 59.36 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006488, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002126/0.008615, allocations: 0.6721 MB / 278.9 MB, free: 11.23 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.4040703428909183]