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.001334/0.001334, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001571/0.001571, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.88 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2675, allocations: 53.42 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003124/0.2706, allocations: 1.543 MB / 433.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.2711, allocations: 143.4 kB / 434.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.2711, allocations: 4 kB / 434.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.2712, allocations: 7.875 kB / 434.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.2713, allocations: 7.922 kB / 434.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.2716, allocations: 39.91 kB / 434.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2717, allocations: 47.78 kB / 434.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2718, allocations: 8 kB / 434.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/0.2718, allocations: 19.92 kB / 434.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.2719, allocations: 19.86 kB / 434.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2719, allocations: 4 kB / 434.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.2719, allocations: 7.938 kB / 434.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.272, allocations: 19.92 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.272, allocations: 19.86 kB / 434.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2721, allocations: 54.38 kB / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2721, allocations: 0 / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2721, allocations: 0 / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2721, allocations: 4 kB / 434.3 MB, free: 4.602 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.000541/0.2727, allocations: 313.9 kB / 434.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2727, allocations: 11.98 kB / 434.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2728, allocations: 12.89 kB / 434.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.273, allocations: 141 kB / 434.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.273, allocations: 8.375 kB / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2731, allocations: 384 / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2734, allocations: 126.4 kB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2734, allocations: 192 / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2734, allocations: 3.938 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.2734, allocations: 4 kB / 434.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2735, allocations: 39.91 kB / 435 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2739, allocations: 313.6 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2741, allocations: 83.77 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.2742, allocations: 38.56 kB / 435.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2742, allocations: 4 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2742, allocations: 38.5 kB / 435.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2742, allocations: 0 / 435.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003353/0.2746, allocations: 109.8 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.2746, allocations: 106.8 kB / 435.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2748, allocations: 145.8 kB / 435.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2748, allocations: 25.7 kB / 435.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.2749, allocations: 88.14 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.2749, allocations: 7.938 kB / 435.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.2749, allocations: 21.72 kB / 435.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2751, allocations: 314.8 kB / 436.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.2751, allocations: 15.98 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.2752, allocations: 47.34 kB / 436.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2753, allocations: 67.28 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2753, allocations: 0 / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001667/0.2755, allocations: 81.59 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2755, allocations: 12.06 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2755, allocations: 4 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2755, allocations: 7.969 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.2756, allocations: 8 kB / 436.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2756, allocations: 4 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.2757, allocations: 11.98 kB / 436.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.2757, allocations: 0 / 436.5 MB, free: 2.176 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[2],sample1.u[1],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.0001154/0.2758, allocations: 121.8 kB / 436.6 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.2759, allocations: 53.58 kB / 436.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.2759, allocations: 23.94 kB / 436.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.2759, allocations: 0 / 436.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2759, allocations: 4 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2759, allocations: 0 / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.2761, allocations: 117.3 kB / 436.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2761, allocations: 0 / 436.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.2762, allocations: 15.92 kB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2762, allocations: 0 / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.2762, allocations: 0 / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2762, allocations: 0 / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2762, allocations: 4 kB / 436.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.2765, allocations: 271.5 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.2765, allocations: 23.88 kB / 437.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2765, allocations: 0 / 437.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.2766, allocations: 7.984 kB / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.2767, allocations: 0 / 437.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2767, allocations: 4 kB / 437.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.096e-05/0.2768, allocations: 110 kB / 437.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 0 / 437.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.277, allocations: 12 kB / 437.3 MB, free: 1.355 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[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 0.0001065/0.2771, allocations: 95.25 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.2773, allocations: 47.91 kB / 437.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2773, allocations: 0 / 437.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.2774, allocations: 23.92 kB / 437.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2778, allocations: 36.27 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.2782, allocations: 212.9 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2783, allocations: 79.33 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.2783, allocations: 7.438 kB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2783, allocations: 0 / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Templates: time 0.002509/0.2808, allocations: 0.8516 MB / 438.6 MB, free: 15.94 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.017010937910527]