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.001925/0.001925, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001904/0.001904, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 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 1.523/1.523, allocations: 173.3 MB / 200.8 MB, free: 9.344 MB / 186.7 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 1.944e-06/1.944e-06, allocations: 0 / 267.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.049e-05, allocations: 2.312 kB / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004162/0.004193, allocations: 1.545 MB / 268.9 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.004755, allocations: 155.4 kB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.004835, allocations: 0 / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.004967, allocations: 7.922 kB / 269 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.005126, allocations: 15.86 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.005409, allocations: 39.83 kB / 269.1 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.005547, allocations: 39.86 kB / 269.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.005666, allocations: 15.95 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.005735, allocations: 23.91 kB / 269.1 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.005802, allocations: 19.91 kB / 269.2 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.005829, allocations: 4 kB / 269.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.005847, allocations: 4 kB / 269.2 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.493e-05/0.005911, allocations: 11.94 kB / 269.2 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.005963, allocations: 11.98 kB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.006132, allocations: 55.69 kB / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.006135, allocations: 0 / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006136, allocations: 4 kB / 269.3 MB, free: 4.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006141, allocations: 0 / 269.3 MB, free: 4.816 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.0007004/0.006841, allocations: 408 kB / 269.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.006889, allocations: 8.922 kB / 269.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.006952, allocations: 16.84 kB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.007227, allocations: 140.4 kB / 269.8 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.007241, allocations: 4.375 kB / 269.8 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.007263, allocations: 8.312 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.007629, allocations: 124.6 kB / 269.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007639, allocations: 8.188 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.007649, allocations: 384 / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.007677, allocations: 384 / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.007829, allocations: 27.92 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.008474, allocations: 418.3 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.008684, allocations: 89.25 kB / 270.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.008798, allocations: 35.11 kB / 270.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.008815, allocations: 8 kB / 270.5 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.008865, allocations: 37.39 kB / 270.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.008867, allocations: 0 / 270.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000421/0.009288, allocations: 89.38 kB / 270.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.009399, allocations: 106.8 kB / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.009659, allocations: 213.8 kB / 271 MB, free: 2.867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.009687, allocations: 29.7 kB / 271 MB, free: 2.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.009809, allocations: 131.2 kB / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.009827, allocations: 12 kB / 271.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.0099, allocations: 31.31 kB / 271.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003313/0.01023, allocations: 496.1 kB / 271.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.0103, allocations: 11.98 kB / 271.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.01037, allocations: 23.38 kB / 271.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.0105, allocations: 39.3 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0105, allocations: 0 / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.0107, allocations: 57.69 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.01073, allocations: 14.75 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01073, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01075, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.01084, allocations: 7.984 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01084, allocations: 0 / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.01089, allocations: 4 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.0109, allocations: 0 / 271.8 MB, free: 1.977 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 0.0001666/0.01106, allocations: 164.6 kB / 272 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.01119, allocations: 49.64 kB / 272 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.01124, allocations: 15.86 kB / 272 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.01126, allocations: 7.938 kB / 272 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01126, allocations: 0 / 272 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01126, allocations: 0 / 272 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.01161, allocations: 140.6 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01161, allocations: 0 / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.01166, allocations: 4 kB / 272.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01166, allocations: 4 kB / 272.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01167, allocations: 0 / 272.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.01168, allocations: 7.969 kB / 272.2 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.01168, allocations: 7.938 kB / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.0121, allocations: 342.7 kB / 272.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.01216, allocations: 23.94 kB / 272.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01218, allocations: 0 / 272.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.01233, allocations: 7.938 kB / 272.6 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01238, allocations: 3.984 kB / 272.6 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01239, allocations: 4 kB / 272.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.01255, allocations: 150.3 kB / 272.7 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01255, allocations: 4 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.01298, allocations: 4 kB / 272.7 MB, free: 0.9766 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 0.0001562/0.01314, allocations: 99.25 kB / 272.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.01335, allocations: 39.59 kB / 272.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01336, allocations: 0 / 272.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.01345, allocations: 19.69 kB / 272.9 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.01409, allocations: 28.77 kB / 272.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.01458, allocations: 192.5 kB / 273.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.01471, allocations: 75.58 kB / 273.2 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.01475, allocations: 7.984 kB / 273.2 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.01479, allocations: 12.5 kB / 273.2 MB, free: 448 kB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01479, allocations: 0 / 273.2 MB, free: 448 kB / 250.7 MB Notification: Performance of Templates: time 0.004735/0.01952, allocations: 0.6714 MB / 273.9 MB, free: 15.79 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.241152309929021]