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.0008167/0.0008167, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004006/0.004006, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8548/0.8548, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 3.938 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.577e-05, allocations: 5.516 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001863/0.001889, allocations: 1.504 MB / 321.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.002203, allocations: 143.5 kB / 321.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.002276, allocations: 7.938 kB / 321.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.00237, allocations: 15.8 kB / 321.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.00246, allocations: 3.938 kB / 321.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.002647, allocations: 51.83 kB / 321.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.002742, allocations: 39.84 kB / 321.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.002837, allocations: 15.97 kB / 321.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.00288, allocations: 23.92 kB / 321.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.732e-05/0.002908, allocations: 7.984 kB / 321.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.002932, allocations: 4 kB / 321.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.002942, allocations: 4 kB / 321.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.002994, allocations: 15.92 kB / 321.5 MB, free: 4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.003022, allocations: 15.92 kB / 321.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003123, allocations: 51.81 kB / 321.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003125, allocations: 4 kB / 321.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003126, allocations: 0 / 321.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00313, allocations: 0 / 321.6 MB, free: 3.93 MB / 282.7 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.0003627/0.003493, allocations: 309.9 kB / 321.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.003528, allocations: 8.922 kB / 321.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.003559, allocations: 8.891 kB / 321.9 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.003743, allocations: 133.6 kB / 322 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.003763, allocations: 4.359 kB / 322 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.003772, allocations: 4.375 kB / 322 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.003992, allocations: 126.4 kB / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004, allocations: 192 / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004009, allocations: 384 / 322.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.004032, allocations: 4.375 kB / 322.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.004084, allocations: 35.84 kB / 322.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.004354, allocations: 293.6 kB / 322.5 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.062e-05/0.004435, allocations: 79.78 kB / 322.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.00447, allocations: 30.62 kB / 322.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.004481, allocations: 7.938 kB / 322.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.004501, allocations: 34.56 kB / 322.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.004502, allocations: 0 / 322.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001945/0.004697, allocations: 97.48 kB / 322.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.004747, allocations: 106.8 kB / 322.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.004833, allocations: 148.9 kB / 323 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004842, allocations: 29.7 kB / 323 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.004881, allocations: 88.14 kB / 323.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.004891, allocations: 11.88 kB / 323.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.004915, allocations: 17.67 kB / 323.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.005005, allocations: 318.8 kB / 323.4 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.005032, allocations: 8 kB / 323.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.005057, allocations: 25.7 kB / 323.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.005102, allocations: 33.77 kB / 323.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005104, allocations: 0 / 323.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.861e-05/0.005172, allocations: 57.56 kB / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.005189, allocations: 15.92 kB / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.005197, allocations: 0 / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.00521, allocations: 0 / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.614e-05/0.005226, allocations: 0 / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005231, allocations: 0 / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.005248, allocations: 4 kB / 323.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005252, allocations: 4.062 kB / 323.6 MB, free: 1.684 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.828e-05/0.00532, allocations: 121.8 kB / 323.7 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.005369, allocations: 53.53 kB / 323.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.005391, allocations: 11.95 kB / 323.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.005402, allocations: 4 kB / 323.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005406, allocations: 0 / 323.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00541, allocations: 4 kB / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.005527, allocations: 121.3 kB / 323.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.00553, allocations: 4 kB / 323.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-06/0.005536, allocations: 4 kB / 323.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005537, allocations: 4.031 kB / 323.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.005544, allocations: 3.938 kB / 323.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.005545, allocations: 4 kB / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005545, allocations: 0 / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.005678, allocations: 251.6 kB / 324.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.005708, allocations: 19.94 kB / 324.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.00572, allocations: 3.938 kB / 324.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.00577, allocations: 4 kB / 324.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.005805, allocations: 8.016 kB / 324.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.005809, allocations: 8 kB / 324.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.005854, allocations: 109.7 kB / 324.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005854, allocations: 0 / 324.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000163/0.006017, allocations: 4 kB / 324.3 MB, free: 0.8867 MB / 282.7 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 8.036e-05/0.006097, allocations: 107.2 kB / 324.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.006195, allocations: 27.92 kB / 324.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.006198, allocations: 4 kB / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.006221, allocations: 12.11 kB / 324.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.006508, allocations: 35.84 kB / 324.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.006782, allocations: 200.2 kB / 324.7 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.006839, allocations: 75.33 kB / 324.8 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.006864, allocations: 16.48 kB / 324.8 MB, free: 360 kB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006864, allocations: 0 / 324.8 MB, free: 360 kB / 282.7 MB Notification: Performance of Templates: time 0.001592/0.008456, allocations: 0.8041 MB / 325.6 MB, free: 15.55 MB / 298.7 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.015996651723981]