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.001611/0.001611, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001961/0.001961, allocations: 219.9 kB / 23 MB, free: 5.605 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.681/1.681, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.002959/0.002959, allocations: 67.89 kB / 376.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3998, allocations: 53.33 MB / 429.8 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003097/0.4029, allocations: 1.562 MB / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004398/0.4033, allocations: 143.5 kB / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.4034, allocations: 4 kB / 431.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.4035, allocations: 7.875 kB / 431.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.689e-05/0.4036, allocations: 7.922 kB / 431.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.4038, allocations: 43.91 kB / 431.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.404, allocations: 43.78 kB / 431.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4041, allocations: 8 kB / 431.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.4041, allocations: 19.92 kB / 431.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.4042, allocations: 19.86 kB / 431.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4042, allocations: 4 kB / 431.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.4042, allocations: 4 kB / 431.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.4042, allocations: 15.98 kB / 431.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.4043, allocations: 31.73 kB / 431.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.4044, allocations: 55.41 kB / 431.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4044, allocations: 0 / 431.8 MB, free: 5.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4044, allocations: 7.984 kB / 431.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.4044, allocations: 0 / 431.8 MB, free: 5.613 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.0005504/0.405, allocations: 380.7 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.405, allocations: 12.03 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.4051, allocations: 8.891 kB / 432.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.4053, allocations: 196.1 kB / 432.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4054, allocations: 4.375 kB / 432.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4054, allocations: 8.375 kB / 432.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.4057, allocations: 126.4 kB / 432.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4057, allocations: 192 / 432.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4057, allocations: 3.938 kB / 432.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.4057, allocations: 8 kB / 432.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.4059, allocations: 39.91 kB / 432.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.4063, allocations: 369.9 kB / 432.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4065, allocations: 87.7 kB / 433 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.4066, allocations: 34.62 kB / 433 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4066, allocations: 0 / 433 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4066, allocations: 42.5 kB / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4066, allocations: 0 / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003281/0.407, allocations: 101.5 kB / 433.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4071, allocations: 118.7 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4072, allocations: 140.6 kB / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4072, allocations: 30.08 kB / 433.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.4073, allocations: 88.14 kB / 433.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.4073, allocations: 7.953 kB / 433.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.4073, allocations: 25.7 kB / 433.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4075, allocations: 310.8 kB / 433.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.4076, allocations: 19.98 kB / 433.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.4076, allocations: 47.36 kB / 433.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.4077, allocations: 55.34 kB / 434 MB, free: 3.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4077, allocations: 3.938 kB / 434 MB, free: 3.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001729/0.4079, allocations: 89.55 kB / 434.1 MB, free: 3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4079, allocations: 4 kB / 434.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4079, allocations: 0 / 434.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.408, allocations: 4 kB / 434.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.408, allocations: 15.98 kB / 434.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.408, allocations: 0 / 434.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.4081, allocations: 4 kB / 434.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4081, allocations: 4.125 kB / 434.1 MB, free: 2.969 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.0001239/0.4082, allocations: 133.7 kB / 434.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4083, allocations: 49.64 kB / 434.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.4084, allocations: 15.83 kB / 434.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.4084, allocations: 4 kB / 434.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4084, allocations: 0 / 434.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.4084, allocations: 3.984 kB / 434.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.4086, allocations: 177.6 kB / 434.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4086, allocations: 96 / 434.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.4087, allocations: 8.031 kB / 434.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4087, allocations: 7.984 kB / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4087, allocations: 0 / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4087, allocations: 3.984 kB / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4087, allocations: 0 / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.409, allocations: 283.4 kB / 434.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.4091, allocations: 89.05 kB / 434.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4091, allocations: 0 / 434.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.4092, allocations: 8 kB / 434.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.4092, allocations: 3.984 kB / 434.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.4093, allocations: 4 kB / 434.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.54e-05/0.4093, allocations: 103.3 kB / 435 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4093, allocations: 0 / 435 MB, free: 1.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4096, allocations: 12 kB / 435 MB, free: 1.969 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.000127/0.4097, allocations: 99.23 kB / 435.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4099, allocations: 51.84 kB / 435.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4099, allocations: 4 kB / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.41, allocations: 16.23 kB / 435.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.4104, allocations: 32.02 kB / 435.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.4108, allocations: 191.1 kB / 435.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4112, allocations: 0.6924 MB / 436.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.038e-05/0.4112, allocations: 7.984 kB / 436.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.4112, allocations: 7.438 kB / 436.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4112, allocations: 8.031 kB / 436.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of Templates: time 0.003551/0.4148, allocations: 0.6391 MB / 436.7 MB, free: 184 kB / 334.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.019048142246902]