Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00132/0.00132, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00138/0.00138, allocations: 187.4 kB / 23.72 MB, free: 4.68 MB / 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.582/1.582, allocations: 225.6 MB / 252.5 MB, free: 13 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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 51.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3963, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003327/0.3996, allocations: 1.545 MB / 424.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.4001, allocations: 143.5 kB / 424.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.4002, allocations: 7.938 kB / 424.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.4003, allocations: 7.922 kB / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.4004, allocations: 3.938 kB / 424.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.4006, allocations: 47.08 kB / 424.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4008, allocations: 35.92 kB / 424.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.4009, allocations: 11.98 kB / 424.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.4009, allocations: 15.94 kB / 424.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.401, allocations: 23.86 kB / 424.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.401, allocations: 0 / 424.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.401, allocations: 4 kB / 424.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.431e-05/0.4011, allocations: 19.91 kB / 425 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.4011, allocations: 27.81 kB / 425 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.4013, allocations: 55.53 kB / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4013, allocations: 0 / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4013, allocations: 0 / 425 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.4013, allocations: 0 / 425 MB, free: 12.73 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.0005359/0.4018, allocations: 311.4 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4019, allocations: 8.031 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.4019, allocations: 12.89 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4021, allocations: 134.4 kB / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4022, allocations: 4.375 kB / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4022, allocations: 8.359 kB / 425.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.4025, allocations: 126.4 kB / 425.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4025, allocations: 192 / 425.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4025, allocations: 3.938 kB / 425.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.4025, allocations: 4 kB / 425.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.907e-05/0.4026, allocations: 27.92 kB / 425.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.4031, allocations: 329 kB / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4032, allocations: 79.66 kB / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.4033, allocations: 34.69 kB / 426.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4033, allocations: 7.938 kB / 426.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4034, allocations: 38.56 kB / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4034, allocations: 3.938 kB / 426.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003137/0.4037, allocations: 85.56 kB / 426.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.4037, allocations: 115.1 kB / 426.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4039, allocations: 141.8 kB / 426.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4039, allocations: 25.7 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.404, allocations: 92.09 kB / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.404, allocations: 0 / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.404, allocations: 25.66 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4042, allocations: 314.8 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.4042, allocations: 19.98 kB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.4043, allocations: 35.42 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4044, allocations: 51.3 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4044, allocations: 4 kB / 427 MB, free: 10.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.4045, allocations: 69.61 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4045, allocations: 8 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4045, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4046, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.4046, allocations: 4 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4046, allocations: 3.938 kB / 427.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.4046, allocations: 12.11 kB / 427.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4046, allocations: 0 / 427.1 MB, free: 10.37 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[1],sample1.u[2],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.0001106/0.4047, allocations: 129.7 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.4048, allocations: 53.64 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.4049, allocations: 11.97 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4049, allocations: 3.984 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4049, allocations: 4 kB / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4049, allocations: 0 / 427.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.4051, allocations: 152.6 kB / 427.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4051, allocations: 4.031 kB / 427.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.4051, allocations: 3.938 kB / 427.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4051, allocations: 4 kB / 427.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4051, allocations: 0 / 427.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4051, allocations: 3.938 kB / 427.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4052, allocations: 4 kB / 427.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4054, allocations: 255.6 kB / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.4054, allocations: 12.09 kB / 427.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4055, allocations: 11.91 kB / 427.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.4055, allocations: 4 kB / 427.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.4056, allocations: 4 kB / 427.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.4056, allocations: 4 kB / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.868e-05/0.4057, allocations: 113.7 kB / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4057, allocations: 0 / 427.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4059, allocations: 11.95 kB / 427.9 MB, free: 9.516 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[1],sample1.u[2],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.0001139/0.4061, allocations: 99.25 kB / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4062, allocations: 39.91 kB / 428.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4062, allocations: 4 kB / 428.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.4063, allocations: 4 kB / 428.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.4067, allocations: 40.27 kB / 428.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.4071, allocations: 175.2 kB / 428.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4074, allocations: 0.6961 MB / 429 MB, free: 8.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.4075, allocations: 7.984 kB / 429 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4075, allocations: 11.44 kB / 429 MB, free: 8.379 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4075, allocations: 0 / 429 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Templates: time 0.00346/0.411, allocations: 0.6296 MB / 429.6 MB, free: 7.762 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.997669284231961]