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.001553/0.001553, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001706/0.001706, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.653/1.653, allocations: 230.3 MB / 258 MB, free: 8.23 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.001985/0.001985, allocations: 63.88 kB / 378.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3749, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003581/0.3785, allocations: 1.554 MB / 433.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004853/0.379, allocations: 147.4 kB / 433.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3791, allocations: 4 kB / 433.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3792, allocations: 11.92 kB / 433.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3793, allocations: 7.875 kB / 433.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.3796, allocations: 47.89 kB / 433.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3798, allocations: 35.86 kB / 433.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3799, allocations: 15.97 kB / 433.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.3799, allocations: 19.88 kB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.38, allocations: 19.86 kB / 434 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.38, allocations: 4 kB / 434 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.38, allocations: 4 kB / 434 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.3801, allocations: 23.92 kB / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.3801, allocations: 19.81 kB / 434 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3803, allocations: 73.3 kB / 434.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3803, allocations: 0 / 434.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3803, allocations: 0 / 434.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3803, allocations: 0 / 434.1 MB, free: 5.094 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.0006225/0.3809, allocations: 302 kB / 434.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.381, allocations: 12.03 kB / 434.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.381, allocations: 8.891 kB / 434.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3813, allocations: 149 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3814, allocations: 384 / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3814, allocations: 4.375 kB / 434.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.3817, allocations: 122.4 kB / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3817, allocations: 192 / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3817, allocations: 11.94 kB / 434.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.3818, allocations: 3.984 kB / 434.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3819, allocations: 35.97 kB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.3825, allocations: 336.9 kB / 435.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3826, allocations: 83.72 kB / 435.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.3827, allocations: 38.61 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3827, allocations: 0 / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.3828, allocations: 46.55 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3828, allocations: 3.938 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003792/0.3832, allocations: 109.5 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.3832, allocations: 103.2 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3834, allocations: 149.8 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3834, allocations: 25.7 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.3835, allocations: 88.12 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.3835, allocations: 7.953 kB / 435.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3835, allocations: 17.72 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3837, allocations: 322.8 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.3838, allocations: 11.98 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.7e-05/0.3839, allocations: 47.36 kB / 436.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.384, allocations: 55.41 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.384, allocations: 7.938 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001875/0.3842, allocations: 85.48 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3842, allocations: 4 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3842, allocations: 4 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3842, allocations: 0 / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3843, allocations: 11.98 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3844, allocations: 3.938 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3844, allocations: 8.125 kB / 436.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3844, allocations: 8 kB / 436.3 MB, free: 2.645 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.000154/0.3846, allocations: 125.8 kB / 436.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.3847, allocations: 53.58 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.3847, allocations: 11.92 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.3847, allocations: 4 kB / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3847, allocations: 0 / 436.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3847, allocations: 4 kB / 436.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.385, allocations: 148.7 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.385, allocations: 3.984 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.3851, allocations: 8 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3851, allocations: 4 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3851, allocations: 0 / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3851, allocations: 7.938 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3851, allocations: 0 / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.3854, allocations: 271.5 kB / 436.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3855, allocations: 15.94 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3855, allocations: 4 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3856, allocations: 7.984 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3857, allocations: 0 / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3857, allocations: 0 / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.3858, allocations: 118 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3858, allocations: 0 / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000262/0.386, allocations: 8 kB / 437.1 MB, free: 1.785 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.0001482/0.3862, allocations: 99.25 kB / 437.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3864, allocations: 47.89 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3864, allocations: 256 / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.3865, allocations: 23.92 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.3869, allocations: 27.95 kB / 437.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3874, allocations: 183.2 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.3878, allocations: 0.6885 MB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.103e-05/0.3879, allocations: 12.2 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.3879, allocations: 11.44 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3879, allocations: 0 / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of Templates: time 0.003941/0.3919, allocations: 0.6533 MB / 438.8 MB, free: 15.99 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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: 5.211549720726907]