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.001228/0.001228, allocations: 123.5 kB / 18.46 MB, free: 4.613 MB / 14.72 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.001304/0.001304, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 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 1.379/1.379, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 48.02 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09272, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002781/0.0955, allocations: 1.528 MB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003828/0.09588, allocations: 155.5 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.09596, allocations: 3.938 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-05/0.09606, allocations: 7.922 kB / 420.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.09614, allocations: 11.92 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.09636, allocations: 35.91 kB / 420.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.09647, allocations: 47.78 kB / 420.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.09658, allocations: 15.98 kB / 420.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.09661, allocations: 15.92 kB / 420.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.09666, allocations: 15.88 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.09668, allocations: 8 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.09669, allocations: 4 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.09675, allocations: 15.92 kB / 420.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.0968, allocations: 35.78 kB / 420.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.09692, allocations: 47.7 kB / 420.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09692, allocations: 0 / 420.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09692, allocations: 0 / 420.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09693, allocations: 4 kB / 420.9 MB, free: 10.16 MB / 350.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.0005286/0.09746, allocations: 391 kB / 421.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09749, allocations: 12.03 kB / 421.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.09752, allocations: 12.84 kB / 421.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.09778, allocations: 200.1 kB / 421.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.09779, allocations: 4.375 kB / 421.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.09781, allocations: 4.375 kB / 421.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.0981, allocations: 126.4 kB / 421.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.09811, allocations: 192 / 421.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.09812, allocations: 3.938 kB / 421.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.09815, allocations: 7.984 kB / 421.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.09827, allocations: 39.84 kB / 421.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.09873, allocations: 366 kB / 422 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.09889, allocations: 83.72 kB / 422.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.09897, allocations: 38.61 kB / 422.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.09899, allocations: 7.938 kB / 422.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.09902, allocations: 34.56 kB / 422.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.09902, allocations: 0 / 422.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003506/0.09937, allocations: 109.9 kB / 422.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.09945, allocations: 102.8 kB / 422.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.0996, allocations: 147.5 kB / 422.5 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.09962, allocations: 25.7 kB / 422.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.09968, allocations: 96.08 kB / 422.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.09969, allocations: 0 / 422.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.09973, allocations: 21.67 kB / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.09989, allocations: 326.9 kB / 423 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.09995, allocations: 11.98 kB / 423 MB, free: 7.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.1, allocations: 39.42 kB / 423 MB, free: 7.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1002, allocations: 63.34 kB / 423.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1002, allocations: 7.938 kB / 423.1 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001831/0.1003, allocations: 77.59 kB / 423.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1004, allocations: 10.19 kB / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1004, allocations: 0 / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1004, allocations: 4.125 kB / 423.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.1005, allocations: 8 kB / 423.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1005, allocations: 15.86 kB / 423.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1005, allocations: 4 kB / 423.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1005, allocations: 0 / 423.2 MB, free: 7.508 MB / 350.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.0001082/0.1006, allocations: 129.7 kB / 423.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1007, allocations: 53.61 kB / 423.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.1008, allocations: 11.89 kB / 423.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.1008, allocations: 4 kB / 423.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1008, allocations: 4 kB / 423.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1008, allocations: 0 / 423.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.101, allocations: 177.6 kB / 423.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1011, allocations: 3.984 kB / 423.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.1011, allocations: 8 kB / 423.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1011, allocations: 4 kB / 423.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1011, allocations: 3.938 kB / 423.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1011, allocations: 4 kB / 423.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1011, allocations: 0 / 423.6 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1014, allocations: 263.5 kB / 423.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.1015, allocations: 96.98 kB / 424 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1015, allocations: 7.938 kB / 424 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.1016, allocations: 3.984 kB / 424 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1016, allocations: 8 kB / 424 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1016, allocations: 0 / 424 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.1017, allocations: 117.3 kB / 424.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1017, allocations: 3.938 kB / 424.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.102, allocations: 4 kB / 424.1 MB, free: 6.512 MB / 350.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.0001084/0.1021, allocations: 103.2 kB / 424.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1023, allocations: 55.89 kB / 424.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1023, allocations: 0 / 424.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.1024, allocations: 15.98 kB / 424.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1028, allocations: 26.34 kB / 424.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.1031, allocations: 213.2 kB / 424.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1035, allocations: 0.7001 MB / 425.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1035, allocations: 11.44 kB / 425.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1035, allocations: 0 / 425.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.002399/0.1059, allocations: 0.83 MB / 426.1 MB, free: 4.5 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.385958757949993]