Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 200.3 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002745, allocations: 8 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001169/0.1184, allocations: 0.6095 MB / 358.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.1187, allocations: 143.5 kB / 358.8 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1188, allocations: 4 kB / 358.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.662e-05/0.1189, allocations: 7.922 kB / 358.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.1189, allocations: 0 / 358.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.1192, allocations: 39.95 kB / 358.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.1193, allocations: 43.84 kB / 358.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1194, allocations: 36.38 kB / 358.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1194, allocations: 23.86 kB / 359 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.1195, allocations: 15.86 kB / 359 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1195, allocations: 4 kB / 359 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.1195, allocations: 0 / 359 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1195, allocations: 23.91 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.1196, allocations: 37.64 kB / 359.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.1197, allocations: 55.89 kB / 359.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1197, allocations: 0 / 359.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1197, allocations: 0 / 359.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1197, allocations: 4 kB / 359.1 MB, free: 12.86 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003265/0.12, allocations: 379.3 kB / 359.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1201, allocations: 8.031 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.1201, allocations: 15.81 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1203, allocations: 190.9 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1203, allocations: 11.89 kB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1203, allocations: 11.94 kB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1207, allocations: 214.8 kB / 359.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1207, allocations: 0 / 359.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1207, allocations: 7.953 kB / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1207, allocations: 4 kB / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.1208, allocations: 31.98 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.121, allocations: 185.6 kB / 360.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.1212, allocations: 130.7 kB / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1212, allocations: 0 / 360.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1213, allocations: 42.44 kB / 360.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.1213, allocations: 0 / 360.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002575/0.1215, allocations: 158 kB / 360.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1216, allocations: 69.12 kB / 360.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1217, allocations: 144.3 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1217, allocations: 25.7 kB / 360.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1218, allocations: 92.45 kB / 360.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1218, allocations: 15.89 kB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1218, allocations: 0 / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.1219, allocations: 318.8 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.122, allocations: 27.98 kB / 361.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.1221, allocations: 113.7 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.1221, allocations: 43.94 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1221, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001929/0.1223, allocations: 149.7 kB / 361.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1223, allocations: 8 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1224, allocations: 8.031 kB / 361.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1224, allocations: 4 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.619e-05/0.1224, allocations: 11.94 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1224, allocations: 8 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1225, allocations: 11.86 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1225, allocations: 12 kB / 361.5 MB, free: 10.19 MB / 302.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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1227, allocations: 140.3 kB / 361.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1228, allocations: 121.5 kB / 361.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.1228, allocations: 13.19 kB / 361.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1229, allocations: 7.938 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1229, allocations: 3.984 kB / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1229, allocations: 0 / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.123, allocations: 193.4 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.123, allocations: 0 / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.123, allocations: 4 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.123, allocations: 0 / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.123, allocations: 4 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.123, allocations: 4 kB / 362 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.123, allocations: 4 kB / 362 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1232, allocations: 155.6 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.1233, allocations: 97 kB / 362.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1233, allocations: 8 kB / 362.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.1233, allocations: 4 kB / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.1233, allocations: 0 / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1233, allocations: 0 / 362.3 MB, free: 9.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.862e-05/0.1234, allocations: 117.7 kB / 362.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1234, allocations: 3.938 kB / 362.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1236, allocations: 20 kB / 362.4 MB, free: 9.211 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.171e-05/0.1237, allocations: 104.3 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1239, allocations: 96.64 kB / 362.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1239, allocations: 4.062 kB / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1239, allocations: 0 / 362.6 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1242, allocations: 87.45 kB / 362.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.1245, allocations: 235.4 kB / 362.9 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1248, allocations: 0.7203 MB / 363.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.1248, allocations: 4.656 kB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1249, allocations: 15.44 kB / 363.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1249, allocations: 0 / 363.6 MB, free: 7.887 MB / 302.1 MB Notification: Performance of Templates: time 0.002815/0.1277, allocations: 0.8941 MB / 364.5 MB, free: 7.004 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches