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.001012/0.001012, 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.001044/0.001044, 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.8993/0.8993, allocations: 177 MB / 205.2 MB, free: 5.051 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 1.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.531e-05, allocations: 5.125 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001957/0.001972, allocations: 1.584 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.002262, allocations: 163.3 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.002326, allocations: 4 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.76e-05/0.002414, allocations: 3.938 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.00249, allocations: 3.938 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.002644, allocations: 43.77 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.002724, allocations: 43.8 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.00281, allocations: 19.97 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.002849, allocations: 19.92 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.002886, allocations: 11.98 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.002905, allocations: 4 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.002913, allocations: 4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.002959, allocations: 23.91 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.00298, allocations: 11.94 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.003064, allocations: 39.83 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.003066, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.003066, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.003069, allocations: 0 / 275.4 MB, free: 15.09 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.0002661/0.003335, allocations: 280.5 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.003365, allocations: 15.98 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.003387, allocations: 8.922 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.003515, allocations: 145.5 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.003522, allocations: 4.375 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.00353, allocations: 4.375 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.003674, allocations: 120.8 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.003679, allocations: 192 / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.003685, allocations: 384 / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.003707, allocations: 4.375 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.003734, allocations: 18.7 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.00391, allocations: 255 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.636e-05/0.003966, allocations: 62.62 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.003982, allocations: 18.64 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.003987, allocations: 0 / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004006, allocations: 38.5 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.004006, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.978e-05/0.004106, allocations: 53.94 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.004146, allocations: 114.8 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.004212, allocations: 141.7 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.00422, allocations: 25.7 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.004247, allocations: 84.14 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.004254, allocations: 3.984 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.004278, allocations: 29.66 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.00434, allocations: 318.8 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.004346, allocations: 0 / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.004359, allocations: 21.66 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.004381, allocations: 28.53 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004382, allocations: 4 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.399e-05/0.004416, allocations: 41.62 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.004425, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.004428, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004438, allocations: 3.938 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.004477, allocations: 8 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.004479, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.004492, allocations: 64 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.004497, allocations: 8 kB / 277.2 MB, free: 13.03 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 5.146e-05/0.004548, allocations: 116.7 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.004583, allocations: 37.64 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.004603, allocations: 15.95 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.004612, allocations: 7.938 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.004614, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004617, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.004722, allocations: 77.88 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.004724, allocations: 0 / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.004736, allocations: 8.031 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004737, allocations: 0 / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.004742, allocations: 4 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004743, allocations: 0 / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004743, allocations: 0 / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.004816, allocations: 226.4 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.004838, allocations: 19.94 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.004846, allocations: 0 / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.004891, allocations: 4 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.004913, allocations: 7.922 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.004915, allocations: 4.031 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.004934, allocations: 28.83 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004934, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.005064, allocations: 4 kB / 277.7 MB, free: 12.42 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 6.154e-05/0.005126, allocations: 88.36 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.005174, allocations: 20.78 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.005176, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.005187, allocations: 12.98 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.005389, allocations: 27.28 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.005597, allocations: 184.1 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.005632, allocations: 59.34 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.677e-05/0.005649, allocations: 11.98 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.00569, allocations: 55.38 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of SimCode: time 3.4e-07/0.005691, allocations: 0 / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Templates: time 0.00187/0.00756, allocations: 0.6782 MB / 278.9 MB, free: 11.25 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.5524132940918207]