Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 105.9 kB / 17.06 MB, free: 6.004 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.001105/0.001105, allocations: 191 kB / 18 MB, free: 5.09 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.54/1.54, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 47.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3719, allocations: 49.44 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002872/0.3748, allocations: 0.9138 MB / 401.6 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.3753, allocations: 143.5 kB / 401.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3754, allocations: 7.938 kB / 401.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.3756, allocations: 7.875 kB / 401.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3758, allocations: 11.92 kB / 401.8 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3761, allocations: 39.89 kB / 401.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.3762, allocations: 63.83 kB / 401.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.3764, allocations: 36.22 kB / 401.9 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.3765, allocations: 23.92 kB / 402 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3765, allocations: 35.78 kB / 402 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3766, allocations: 4 kB / 402 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3766, allocations: 12 kB / 402 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.3767, allocations: 27.91 kB / 402 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.3768, allocations: 35.75 kB / 402.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.377, allocations: 83.38 kB / 402.2 MB, free: 7.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.377, allocations: 4 kB / 402.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.377, allocations: 0 / 402.2 MB, free: 7.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.377, allocations: 0 / 402.2 MB, free: 7.59 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.0005056/0.3775, allocations: 390.8 kB / 402.5 MB, free: 7.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3775, allocations: 12.03 kB / 402.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.3776, allocations: 16.84 kB / 402.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.3779, allocations: 208.1 kB / 402.8 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3779, allocations: 4.359 kB / 402.8 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3779, allocations: 12.38 kB / 402.8 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.3783, allocations: 207.7 kB / 403 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3784, allocations: 192 / 403 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3784, allocations: 15.92 kB / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3784, allocations: 0 / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.3785, allocations: 39.92 kB / 403.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3787, allocations: 185.6 kB / 403.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3789, allocations: 131 kB / 403.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.379, allocations: 80.77 kB / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.379, allocations: 0 / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3791, allocations: 38.56 kB / 403.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 8.91e-07/0.3791, allocations: 0 / 403.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002946/0.3794, allocations: 157.4 kB / 403.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.3795, allocations: 70.72 kB / 403.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3796, allocations: 148.2 kB / 403.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3796, allocations: 29.64 kB / 403.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3797, allocations: 84.47 kB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3797, allocations: 15.94 kB / 404 MB, free: 5.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.3798, allocations: 41.7 kB / 404 MB, free: 5.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3799, allocations: 318.8 kB / 404.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.38, allocations: 16 kB / 404.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3801, allocations: 121.7 kB / 404.5 MB, free: 5.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3802, allocations: 153.5 kB / 404.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3803, allocations: 0 / 404.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002071/0.3805, allocations: 161.2 kB / 404.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3805, allocations: 11.94 kB / 404.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3805, allocations: 0 / 404.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3805, allocations: 8.5 kB / 404.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.757e-05/0.3806, allocations: 11.94 kB / 404.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3806, allocations: 7.984 kB / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.3806, allocations: 12 kB / 404.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3807, allocations: 8 kB / 404.8 MB, free: 4.605 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.000123/0.3808, allocations: 142.2 kB / 405 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.381, allocations: 129.4 kB / 405.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.381, allocations: 21.17 kB / 405.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.381, allocations: 4 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.381, allocations: 4 kB / 405.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3811, allocations: 0 / 405.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3812, allocations: 181.6 kB / 405.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3812, allocations: 4 kB / 405.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3813, allocations: 4 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3813, allocations: 3.938 kB / 405.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3813, allocations: 0 / 405.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3813, allocations: 7.984 kB / 405.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3813, allocations: 3.938 kB / 405.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3815, allocations: 152.9 kB / 405.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.3816, allocations: 97.05 kB / 405.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.3816, allocations: 15.92 kB / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.3816, allocations: 0 / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.3816, allocations: 0 / 405.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3817, allocations: 8 kB / 405.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.3817, allocations: 106.4 kB / 405.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3817, allocations: 0 / 405.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.382, allocations: 16 kB / 405.7 MB, free: 3.621 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001264/0.3821, allocations: 107.2 kB / 405.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3823, allocations: 99.72 kB / 405.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3823, allocations: 1 kB / 405.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.3823, allocations: 3.938 kB / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3827, allocations: 87.3 kB / 406 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.3831, allocations: 225.2 kB / 406.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3834, allocations: 0.7084 MB / 406.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.386e-05/0.3834, allocations: 8.641 kB / 406.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3835, allocations: 11.44 kB / 406.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3835, allocations: 0 / 406.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of Templates: time 0.003479/0.387, allocations: 1.041 MB / 408 MB, free: 1.297 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches