Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00159/0.00159, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001452/0.001452, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.562/1.562, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.RealSignals.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.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3653, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003192/0.3684, allocations: 1.635 MB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008765/0.3693, allocations: 490.7 kB / 423 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.3694, allocations: 7.938 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3695, allocations: 7.922 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3696, allocations: 15.86 kB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.3699, allocations: 51.81 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.37, allocations: 59.78 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3701, allocations: 11.94 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.3702, allocations: 35.84 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.3703, allocations: 31.84 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3703, allocations: 7.938 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.3703, allocations: 4 kB / 423.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.3704, allocations: 15.92 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3704, allocations: 27.81 kB / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.3706, allocations: 68.92 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3706, allocations: 4 kB / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3706, allocations: 0 / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3706, allocations: 3.938 kB / 423.3 MB, free: 12.65 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.0006151/0.3712, allocations: 402.9 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3712, allocations: 11.97 kB / 423.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3713, allocations: 8.891 kB / 423.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3716, allocations: 200.1 kB / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3716, allocations: 8.375 kB / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3716, allocations: 384 / 423.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.3719, allocations: 138.2 kB / 424.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3719, allocations: 0 / 424.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3719, allocations: 4 kB / 424.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3719, allocations: 4 kB / 424.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3721, allocations: 43.89 kB / 424.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.3726, allocations: 377.9 kB / 424.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3728, allocations: 79.78 kB / 424.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.3729, allocations: 38.62 kB / 424.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.3729, allocations: 7.969 kB / 424.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3729, allocations: 42.5 kB / 424.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3729, allocations: 0 / 424.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003669/0.3733, allocations: 109.7 kB / 424.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.3733, allocations: 106.8 kB / 424.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3735, allocations: 153.7 kB / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3735, allocations: 29.64 kB / 425.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.3736, allocations: 96.03 kB / 425.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3736, allocations: 15.94 kB / 425.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3736, allocations: 13.91 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3738, allocations: 330.8 kB / 425.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.3739, allocations: 15.98 kB / 425.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.3739, allocations: 39.42 kB / 425.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3741, allocations: 67.34 kB / 425.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3741, allocations: 0 / 425.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00019/0.3743, allocations: 93.48 kB / 425.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3743, allocations: 7.438 kB / 425.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3743, allocations: 4.125 kB / 425.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3743, allocations: 4 kB / 425.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3744, allocations: 11.98 kB / 425.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3744, allocations: 3.938 kB / 425.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.3745, allocations: 7.984 kB / 425.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3745, allocations: 4 kB / 425.8 MB, free: 9.922 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: 0 () * 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.0001022/0.3746, allocations: 117.8 kB / 425.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.3747, allocations: 53.64 kB / 425.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.3747, allocations: 15.91 kB / 425.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.3747, allocations: 7.984 kB / 425.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3747, allocations: 4 kB / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3747, allocations: 0 / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.375, allocations: 185.5 kB / 426.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.375, allocations: 0 / 426.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.3751, allocations: 4 kB / 426.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3751, allocations: 4 kB / 426.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3751, allocations: 3.984 kB / 426.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3751, allocations: 3.938 kB / 426.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3751, allocations: 8 kB / 426.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3754, allocations: 267.5 kB / 426.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.3755, allocations: 97.05 kB / 426.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3755, allocations: 0 / 426.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3756, allocations: 11.98 kB / 426.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.3757, allocations: 4 kB / 426.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3757, allocations: 4 kB / 426.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.384e-05/0.3758, allocations: 114.1 kB / 426.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 3.938 kB / 426.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.376, allocations: 11.94 kB / 426.7 MB, free: 8.914 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: 0 () * 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.000114/0.3761, allocations: 103.2 kB / 426.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3764, allocations: 55.84 kB / 426.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3764, allocations: 0 / 426.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.3764, allocations: 19.98 kB / 426.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3769, allocations: 24 kB / 426.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3773, allocations: 221.7 kB / 427.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3777, allocations: 0.7039 MB / 427.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.319e-05/0.3777, allocations: 12.11 kB / 427.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.3778, allocations: 15.38 kB / 427.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3778, allocations: 0 / 427.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of Templates: time 0.00348/0.3813, allocations: 0.7059 MB / 428.5 MB, free: 7.004 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.89190371427685]