Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001227/0.001227, allocations: 89.91 kB / 22.22 MB, free: 2.281 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.001177/0.001177, allocations: 161.6 kB / 25.61 MB, free: 8.578 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 1.029/1.029, allocations: 177 MB / 205.9 MB, free: 4.457 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.946e-05, allocations: 4.344 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00249/0.002519, allocations: 1.584 MB / 275.7 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.002863, allocations: 158.7 kB / 275.8 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.002932, allocations: 4 kB / 275.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.003025, allocations: 7.938 kB / 275.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.006152, allocations: 7.875 kB / 275.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.006407, allocations: 39.83 kB / 275.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.006511, allocations: 39.86 kB / 275.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.006613, allocations: 11.98 kB / 276 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.006661, allocations: 27.91 kB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.0067, allocations: 15.92 kB / 276 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.006718, allocations: 1 kB / 276 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.006727, allocations: 4 kB / 276 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.006775, allocations: 19.92 kB / 276 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.006798, allocations: 4.938 kB / 276 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.006901, allocations: 47.7 kB / 276.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006904, allocations: 0.625 kB / 276.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006905, allocations: 0 / 276.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.006909, allocations: 2.469 kB / 276.1 MB, free: 2.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.0003675/0.007276, allocations: 412.2 kB / 276.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.007312, allocations: 12.03 kB / 276.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.007342, allocations: 8.891 kB / 276.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.007495, allocations: 140.5 kB / 276.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.007503, allocations: 2.406 kB / 276.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.007514, allocations: 12.3 kB / 276.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.007694, allocations: 117.3 kB / 276.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.007701, allocations: 0.8438 kB / 276.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.00771, allocations: 8.359 kB / 276.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.007734, allocations: 8.359 kB / 276.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.824e-05/0.007752, allocations: 11.94 kB / 276.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.008027, allocations: 390.9 kB / 277.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.008102, allocations: 81.12 kB / 277.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.008131, allocations: 35.17 kB / 277.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.008138, allocations: 4 kB / 277.3 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.00816, allocations: 33.39 kB / 277.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 2.766e-06/0.008163, allocations: 4 kB / 277.3 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001573/0.00832, allocations: 61.47 kB / 277.4 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.008372, allocations: 110.8 kB / 277.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.008474, allocations: 199.7 kB / 277.7 MB, free: 480 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.008484, allocations: 29.7 kB / 277.7 MB, free: 444 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.008536, allocations: 138.8 kB / 277.9 MB, free: 300 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.008546, allocations: 7.953 kB / 277.9 MB, free: 292 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.00858, allocations: 19.38 kB / 277.9 MB, free: 264 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.00872, allocations: 0.4884 MB / 278.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.008732, allocations: 8.359 kB / 278.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.00875, allocations: 19.38 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.008786, allocations: 23.31 kB / 278.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008788, allocations: 0 / 278.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.748e-05/0.008855, allocations: 49.59 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.00887, allocations: 4 kB / 278.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003007/0.01188, allocations: 0 / 278.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01189, allocations: 7.938 kB / 278.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.01196, allocations: 12.11 kB / 278.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.01196, allocations: 0 / 278.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.01199, allocations: 4 kB / 278.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.01199, allocations: 4 kB / 278.5 MB, free: 15.61 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[2],sample1.u[1]) * 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 9.104e-05/0.01208, allocations: 152.6 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.01217, allocations: 45.64 kB / 278.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.01219, allocations: 7.969 kB / 278.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.01221, allocations: 11.88 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01221, allocations: 0 / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01221, allocations: 4 kB / 278.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.01239, allocations: 113.2 kB / 278.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01239, allocations: 0 / 278.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.01242, allocations: 11.92 kB / 278.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01242, allocations: 4 kB / 278.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.01242, allocations: 0 / 278.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01242, allocations: 0 / 278.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01243, allocations: 0 / 278.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.01258, allocations: 326.7 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.01261, allocations: 11.94 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.01262, allocations: 8.031 kB / 279.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.0127, allocations: 4 kB / 279.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.01273, allocations: 11.92 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.01274, allocations: 0 / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.0128, allocations: 141.7 kB / 279.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 0 / 279.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01305, allocations: 8 kB / 279.3 MB, free: 14.7 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[2],sample1.u[1],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 9.637e-05/0.01315, allocations: 103.2 kB / 279.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.197e-05/0.01322, allocations: 23.62 kB / 279.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01322, allocations: 0 / 279.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.01324, allocations: 11.69 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.01359, allocations: 20.52 kB / 279.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.01387, allocations: 194.4 kB / 279.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.01392, allocations: 63.2 kB / 279.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.974e-05/0.01394, allocations: 4 kB / 279.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.014, allocations: 78.53 kB / 279.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.014, allocations: 4 kB / 279.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.005706/0.01971, allocations: 0.7258 MB / 280.6 MB, free: 13.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.8823611279949546]