Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.2 kB / 17.06 MB, free: 5.793 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.001777/0.001777, allocations: 198.8 kB / 18.01 MB, free: 4.918 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.614/1.614, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009455/0.0009456, allocations: 43.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3808, allocations: 49.43 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003414/0.3843, allocations: 0.919 MB / 401.6 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.3848, allocations: 135.5 kB / 401.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.385, allocations: 0 / 401.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3852, allocations: 15.8 kB / 401.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3853, allocations: 15.92 kB / 401.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.3856, allocations: 47.77 kB / 401.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3858, allocations: 67.77 kB / 401.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.386, allocations: 47.95 kB / 402 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.3861, allocations: 23.92 kB / 402 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3862, allocations: 39.78 kB / 402 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.3863, allocations: 8 kB / 402 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/0.3863, allocations: 8 kB / 402 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.3864, allocations: 27.92 kB / 402.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.3865, allocations: 47.66 kB / 402.1 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3867, allocations: 99.31 kB / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3867, allocations: 0 / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3867, allocations: 0 / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3868, allocations: 0 / 402.2 MB, free: 7.371 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007976/0.3876, allocations: 422.8 kB / 402.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.3876, allocations: 8.031 kB / 402.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.3877, allocations: 16.84 kB / 402.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.388, allocations: 227.7 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.388, allocations: 4.375 kB / 402.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.388, allocations: 8.375 kB / 402.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.3885, allocations: 223.7 kB / 403.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3885, allocations: 192 / 403.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3885, allocations: 11.94 kB / 403.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3885, allocations: 0 / 403.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3886, allocations: 55.28 kB / 403.2 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.3889, allocations: 193.5 kB / 403.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.3891, allocations: 147 kB / 403.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3893, allocations: 88.81 kB / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3893, allocations: 0 / 403.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3893, allocations: 30.56 kB / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.3893, allocations: 0 / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003429/0.3897, allocations: 181.7 kB / 403.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3897, allocations: 63.34 kB / 403.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3899, allocations: 166.2 kB / 404 MB, free: 5.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3899, allocations: 29.7 kB / 404 MB, free: 5.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.39, allocations: 88.47 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.39, allocations: 15.92 kB / 404.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.3901, allocations: 41.66 kB / 404.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3902, allocations: 322.8 kB / 404.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.3903, allocations: 19.98 kB / 404.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3904, allocations: 121.7 kB / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3906, allocations: 153.5 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3906, allocations: 4 kB / 404.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002091/0.3908, allocations: 161.3 kB / 404.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3908, allocations: 4 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3908, allocations: 7.938 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3908, allocations: 8.5 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.391, allocations: 35.92 kB / 405 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.391, allocations: 8 kB / 405 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.3911, allocations: 7.953 kB / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3911, allocations: 8 kB / 405 MB, free: 4.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001263/0.3912, allocations: 157.6 kB / 405.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.3914, allocations: 140.7 kB / 405.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.3915, allocations: 25.06 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3915, allocations: 11.98 kB / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3915, allocations: 0 / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3915, allocations: 3.984 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3916, allocations: 193.6 kB / 405.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3916, allocations: 0 / 405.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.3918, allocations: 23.98 kB / 405.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3918, allocations: 4 kB / 405.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3918, allocations: 7.938 kB / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3918, allocations: 0 / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3918, allocations: 3.938 kB / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.392, allocations: 172.9 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.3921, allocations: 101 kB / 405.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3921, allocations: 11.94 kB / 405.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.3922, allocations: 4 kB / 405.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.3922, allocations: 0 / 405.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3922, allocations: 4 kB / 405.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.3923, allocations: 114.1 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3923, allocations: 0 / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.3925, allocations: 24 kB / 406 MB, free: 3.141 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001196/0.3927, allocations: 107.8 kB / 406.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3929, allocations: 108.6 kB / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3929, allocations: 0 / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3929, allocations: 0 / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3933, allocations: 96.05 kB / 406.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3937, allocations: 254.1 kB / 406.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.394, allocations: 0.7123 MB / 407.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.394, allocations: 13.08 kB / 407.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.3941, allocations: 19.44 kB / 407.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3941, allocations: 0 / 407.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of Templates: time 0.003421/0.3975, allocations: 1.163 MB / 408.5 MB, free: 0.6406 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches