Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 72.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 143.8 kB / 24.98 MB, free: 8.812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9469/0.9469, allocations: 173.3 MB / 201.5 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.602e-05, allocations: 2.312 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002303/0.002319, allocations: 1.576 MB / 269.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.002602, allocations: 155.4 kB / 269.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.002668, allocations: 0 / 269.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.00275, allocations: 7.922 kB / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.002827, allocations: 15.86 kB / 269.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.002997, allocations: 39.83 kB / 269.9 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.986e-05/0.003087, allocations: 39.86 kB / 269.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.003181, allocations: 15.98 kB / 269.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.003223, allocations: 19.92 kB / 269.9 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.00326, allocations: 15.97 kB / 269.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.003279, allocations: 7.938 kB / 270 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.003288, allocations: 4 kB / 270 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.003327, allocations: 11.94 kB / 270 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.003355, allocations: 15.92 kB / 270 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.003443, allocations: 43.83 kB / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003445, allocations: 0 / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003445, allocations: 0 / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.003449, allocations: 0 / 270 MB, free: 4.781 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.0003223/0.003771, allocations: 408.2 kB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.003808, allocations: 8.922 kB / 270.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.003847, allocations: 16.84 kB / 270.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.004011, allocations: 140.4 kB / 270.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.004024, allocations: 8.375 kB / 270.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.004033, allocations: 384 / 270.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.004255, allocations: 133.2 kB / 270.7 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.004265, allocations: 4.188 kB / 270.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.004275, allocations: 384 / 270.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.004302, allocations: 4.375 kB / 270.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.004326, allocations: 11.92 kB / 270.7 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.004649, allocations: 410.3 kB / 271.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.824e-05/0.004738, allocations: 89.23 kB / 271.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.004773, allocations: 27.06 kB / 271.3 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.00478, allocations: 4.062 kB / 271.3 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.004798, allocations: 37.39 kB / 271.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004799, allocations: 4 kB / 271.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000139/0.004938, allocations: 65.45 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.004983, allocations: 106.8 kB / 271.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.005075, allocations: 197.8 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.005089, allocations: 33.69 kB / 271.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.005131, allocations: 134.9 kB / 271.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.005139, allocations: 4 kB / 271.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.005166, allocations: 23.7 kB / 271.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.005267, allocations: 0.4961 MB / 272.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.005277, allocations: 4 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.005293, allocations: 19.31 kB / 272.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.005317, allocations: 23.38 kB / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005319, allocations: 0 / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.297e-05/0.005361, allocations: 45.62 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005372, allocations: 10.91 kB / 272.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.005376, allocations: 128 / 272.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.005386, allocations: 8 kB / 272.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.005427, allocations: 4 kB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005431, allocations: 0 / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.005449, allocations: 11.95 kB / 272.5 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005453, allocations: 0 / 272.5 MB, free: 2.031 MB / 250.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 6.453e-05/0.005517, allocations: 160.6 kB / 272.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.005559, allocations: 41.59 kB / 272.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.00558, allocations: 15.91 kB / 272.7 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.005589, allocations: 3.984 kB / 272.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.005593, allocations: 12.03 kB / 272.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005595, allocations: 0 / 272.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.005716, allocations: 128.6 kB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.005718, allocations: 0 / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.005732, allocations: 7.984 kB / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005733, allocations: 0 / 272.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.005738, allocations: 4 kB / 272.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00574, allocations: 3.938 kB / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005741, allocations: 0 / 272.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.005864, allocations: 334.7 kB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.005889, allocations: 19.95 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.0059, allocations: 3.984 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.005949, allocations: 7.938 kB / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.005975, allocations: 0 / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005979, allocations: 4 kB / 273.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.28e-05/0.006031, allocations: 150.2 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006031, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.006197, allocations: 4 kB / 273.4 MB, free: 1.07 MB / 250.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 5.802e-05/0.006255, allocations: 99.25 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.006316, allocations: 31.55 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006317, allocations: 0 / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.4e-05/0.006331, allocations: 15.69 kB / 273.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.006582, allocations: 24.52 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.006819, allocations: 180.6 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.006855, allocations: 59.34 kB / 273.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.006877, allocations: 12.23 kB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.0069, allocations: 16.5 kB / 273.8 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006901, allocations: 0 / 273.8 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of Templates: time 0.002154/0.009054, allocations: 0.654 MB / 274.4 MB, free: 15.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.775292231934145]