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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 116.3 kB / 17.07 MB, free: 5.973 MB / 14.72 MB 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: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4203, allocations: 49.41 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.004669/0.425, allocations: 1.525 MB / 402.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.4257, allocations: 151.4 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.4259, allocations: 4 kB / 402.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.426, allocations: 3.938 kB / 402.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.4262, allocations: 3.938 kB / 402.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.4266, allocations: 47.83 kB / 402.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.4267, allocations: 35.92 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.4269, allocations: 19.97 kB / 402.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.427, allocations: 15.92 kB / 402.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.427, allocations: 15.88 kB / 402.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.4271, allocations: 4 kB / 402.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.4271, allocations: 4 kB / 402.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.4272, allocations: 19.92 kB / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.4273, allocations: 23.81 kB / 402.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.4274, allocations: 55.8 kB / 402.6 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4275, allocations: 3.938 kB / 402.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4275, allocations: 0 / 402.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.4275, allocations: 0 / 402.6 MB, free: 6.922 MB / 318.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.0006285/0.4281, allocations: 368.3 kB / 403 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4282, allocations: 12.03 kB / 403 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.4282, allocations: 8.844 kB / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.4286, allocations: 200.1 kB / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.4287, allocations: 4.359 kB / 403.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4287, allocations: 4.375 kB / 403.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.4291, allocations: 114.5 kB / 403.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4291, allocations: 12.12 kB / 403.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4291, allocations: 3.938 kB / 403.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.4291, allocations: 0 / 403.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.4293, allocations: 31.91 kB / 403.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.4298, allocations: 354 kB / 403.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.43, allocations: 83.7 kB / 403.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.4301, allocations: 30.64 kB / 403.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4301, allocations: 3.938 kB / 403.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.4301, allocations: 38.55 kB / 403.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4301, allocations: 4 kB / 403.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003809/0.4305, allocations: 89.52 kB / 404 MB, free: 5.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.4306, allocations: 110.8 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.4308, allocations: 142.1 kB / 404.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4308, allocations: 29.7 kB / 404.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.4309, allocations: 92.05 kB / 404.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.4309, allocations: 7.984 kB / 404.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.431, allocations: 21.7 kB / 404.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4311, allocations: 318.8 kB / 404.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.4312, allocations: 7.984 kB / 404.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.4312, allocations: 47.41 kB / 404.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4314, allocations: 55.3 kB / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4314, allocations: 0 / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001597/0.4315, allocations: 77.55 kB / 404.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4316, allocations: 10.03 kB / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4316, allocations: 0 / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4316, allocations: 0 / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-05/0.4316, allocations: 4 kB / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4316, allocations: 3.938 kB / 404.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.4317, allocations: 11.94 kB / 404.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4317, allocations: 3.984 kB / 404.9 MB, free: 4.363 MB / 318.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.0001327/0.4319, allocations: 129.8 kB / 405 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.432, allocations: 53.59 kB / 405.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.432, allocations: 7.875 kB / 405.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.432, allocations: 3.984 kB / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4321, allocations: 0 / 405.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4321, allocations: 4 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4323, allocations: 173.6 kB / 405.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4324, allocations: 0 / 405.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.4324, allocations: 3.938 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4324, allocations: 0 / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4324, allocations: 8.031 kB / 405.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4324, allocations: 0 / 405.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4324, allocations: 3.938 kB / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.4327, allocations: 259.5 kB / 405.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4328, allocations: 89.02 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4328, allocations: 11.98 kB / 405.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.4329, allocations: 0 / 405.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4329, allocations: 4 kB / 405.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.433, allocations: 3.938 kB / 405.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.153e-05/0.433, allocations: 111.2 kB / 405.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4331, allocations: 0 / 405.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.4333, allocations: 8 kB / 405.7 MB, free: 3.398 MB / 318.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.0001358/0.4335, allocations: 103.2 kB / 405.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.4337, allocations: 39.91 kB / 405.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.4337, allocations: 4 kB / 405.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.4337, allocations: 12 kB / 405.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4342, allocations: 28.73 kB / 405.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.4346, allocations: 186.9 kB / 406.1 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4349, allocations: 0.6961 MB / 406.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.435, allocations: 7.984 kB / 406.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.435, allocations: 11.44 kB / 406.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.435, allocations: 0 / 406.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of Templates: time 0.003324/0.4384, allocations: 0.6196 MB / 407.4 MB, free: 1.652 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (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) 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) Reference file matches