Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001329/0.001329, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001574/0.001574, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.614/1.614, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 72.06 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003577/0.3744, allocations: 1.57 MB / 433.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000554/0.375, allocations: 147.5 kB / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3751, allocations: 0 / 433.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.3753, allocations: 7.938 kB / 433.8 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3754, allocations: 11.86 kB / 433.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3757, allocations: 39.91 kB / 433.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3759, allocations: 47.78 kB / 433.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.376, allocations: 11.98 kB / 433.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.376, allocations: 15.92 kB / 433.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.3761, allocations: 19.92 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3761, allocations: 0 / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3762, allocations: 4 kB / 433.9 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.3762, allocations: 23.94 kB / 433.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.3763, allocations: 27.73 kB / 434 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3764, allocations: 57.3 kB / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3764, allocations: 0 / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3765, allocations: 0 / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3765, allocations: 0 / 434 MB, free: 5.434 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.0006527/0.3771, allocations: 383 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3772, allocations: 8.031 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3772, allocations: 8.891 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.3775, allocations: 208.1 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3775, allocations: 4.375 kB / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3776, allocations: 384 / 434.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3779, allocations: 130.4 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3779, allocations: 192 / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3779, allocations: 3.938 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.378, allocations: 4 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3781, allocations: 35.91 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.3787, allocations: 362 kB / 435.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3789, allocations: 83.7 kB / 435.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.3789, allocations: 38.62 kB / 435.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.379, allocations: 11.92 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.379, allocations: 34.5 kB / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.379, allocations: 0 / 435.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003885/0.3794, allocations: 109.5 kB / 435.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.3795, allocations: 107.2 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3796, allocations: 148.7 kB / 435.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3797, allocations: 25.7 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.3797, allocations: 96.08 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3798, allocations: 11.88 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.3798, allocations: 21.72 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.38, allocations: 314.8 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.38, allocations: 19.98 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.3801, allocations: 43.36 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.3802, allocations: 59.41 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3803, allocations: 3.938 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001751/0.3804, allocations: 85.48 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3804, allocations: 8 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3805, allocations: 0 / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3805, allocations: 4 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3806, allocations: 16.11 kB / 436.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3806, allocations: 4 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.3806, allocations: 4 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.3806, allocations: 0 / 436.4 MB, free: 2.781 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.0001393/0.3808, allocations: 129.7 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3809, allocations: 53.64 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.3809, allocations: 15.83 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.3809, allocations: 4 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3809, allocations: 4.031 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3809, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.3812, allocations: 177.6 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3812, allocations: 4 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.3813, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3813, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3813, allocations: 4 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3813, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3813, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.3816, allocations: 275.5 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.3817, allocations: 93.05 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3817, allocations: 4 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3818, allocations: 4 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3818, allocations: 3.938 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3818, allocations: 8 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.3819, allocations: 113.8 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3819, allocations: 0 / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.3822, allocations: 4 kB / 437.2 MB, free: 1.797 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.0001434/0.3824, allocations: 107.2 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3826, allocations: 48.09 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3826, allocations: 0 / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.3826, allocations: 23.92 kB / 437.4 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.0004291/0.3831, allocations: 23.95 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3835, allocations: 183.1 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3839, allocations: 0.6965 MB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.3839, allocations: 4 kB / 438.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.384, allocations: 15.44 kB / 438.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.384, allocations: 0 / 438.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of Templates: time 0.004015/0.388, allocations: 0.6413 MB / 439 MB, free: 32 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.931628467980772]