Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007961/0.0007962, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009159/0.0009159, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.127/1.127, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001838/0.0001839, allocations: 8 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07175/0.07194, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001333/0.0733, allocations: 1.231 MB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.07359, allocations: 143.6 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.07366, allocations: 0 / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.599e-05/0.07373, allocations: 11.92 kB / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.0738, allocations: 3.938 kB / 360.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.07397, allocations: 35.97 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.07405, allocations: 39.8 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.07414, allocations: 31.94 kB / 360.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.07417, allocations: 7.938 kB / 360.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.471e-05/0.0742, allocations: 15.92 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.07422, allocations: 0 / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.07423, allocations: 4 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.07428, allocations: 7.938 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.07432, allocations: 53.5 kB / 360.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.843e-05/0.07439, allocations: 47.8 kB / 360.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0744, allocations: 0 / 360.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0744, allocations: 0 / 360.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.505e-06/0.07441, allocations: 0 / 360.9 MB, free: 11.65 MB / 302.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.0003306/0.07475, allocations: 371.4 kB / 361.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.07478, allocations: 8.031 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.07481, allocations: 8.844 kB / 361.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.07496, allocations: 192.2 kB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.07498, allocations: 4.375 kB / 361.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.075, allocations: 4.375 kB / 361.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.07522, allocations: 126.3 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.07523, allocations: 192 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.07525, allocations: 7.875 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.07527, allocations: 12 kB / 361.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.07536, allocations: 27.98 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.07569, allocations: 369.8 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.0758, allocations: 79.72 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.07586, allocations: 34.62 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.07588, allocations: 4 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.0759, allocations: 30.56 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.07591, allocations: 0 / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002448/0.07616, allocations: 109.8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.07621, allocations: 106.8 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.07632, allocations: 136.6 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.07633, allocations: 25.7 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.07637, allocations: 92.12 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.07639, allocations: 3.906 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.07642, allocations: 17.72 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.07651, allocations: 322.8 kB / 362.9 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.07655, allocations: 12 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.07661, allocations: 43.36 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.0767, allocations: 55.36 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.07671, allocations: 0 / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.07685, allocations: 77.55 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.07686, allocations: 8 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.07687, allocations: 4.125 kB / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.07689, allocations: 0 / 363.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.505e-05/0.07691, allocations: 7.984 kB / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.07691, allocations: 0 / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.07695, allocations: 7.906 kB / 363.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.07696, allocations: 4 kB / 363.1 MB, free: 9.082 MB / 302.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 9.366e-05/0.07706, allocations: 133.8 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.07714, allocations: 49.53 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.07717, allocations: 23.84 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.07719, allocations: 4 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.0772, allocations: 0 / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.0772, allocations: 0 / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.07739, allocations: 173.6 kB / 363.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0774, allocations: 0 / 363.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-06/0.07741, allocations: 4 kB / 363.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.07741, allocations: 0 / 363.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.07742, allocations: 3.984 kB / 363.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.07743, allocations: 4 kB / 363.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.07743, allocations: 0 / 363.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.07762, allocations: 275.5 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.07768, allocations: 85.09 kB / 363.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.0777, allocations: 0 / 363.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.07778, allocations: 12 kB / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.07782, allocations: 3.984 kB / 363.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.07782, allocations: 4 kB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.347e-05/0.07788, allocations: 107.2 kB / 364 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.07789, allocations: 0 / 364 MB, free: 8.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.07812, allocations: 4 kB / 364 MB, free: 8.105 MB / 302.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 8.022e-05/0.07821, allocations: 103.2 kB / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.07834, allocations: 51.86 kB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.07835, allocations: 0 / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.203e-05/0.07839, allocations: 15.92 kB / 364.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.07874, allocations: 34.53 kB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.079, allocations: 194.8 kB / 364.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.07922, allocations: 0.6926 MB / 365.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.7e-05/0.07925, allocations: 11.98 kB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.07927, allocations: 7.438 kB / 365.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.07928, allocations: 4 kB / 365.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of Templates: time 0.001978/0.08126, allocations: 0.5361 MB / 365.7 MB, free: 6.406 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches