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.0009444/0.0009444, allocations: 94.94 kB / 16.3 MB, free: 5.531 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.001194/0.001194, allocations: 178 kB / 17.19 MB, free: 5.465 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.486/1.486, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003571, allocations: 7.938 kB / 300.7 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 50.41 MB / 351.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001543/0.1369, allocations: 0.6093 MB / 351.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.1374, allocations: 139.6 kB / 351.9 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1375, allocations: 3.938 kB / 351.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.1377, allocations: 3.938 kB / 351.9 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.1378, allocations: 11.98 kB / 351.9 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1381, allocations: 31.97 kB / 351.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1383, allocations: 39.89 kB / 352 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1384, allocations: 28.41 kB / 352 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1385, allocations: 19.86 kB / 352 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1385, allocations: 27.84 kB / 352.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1385, allocations: 3.938 kB / 352.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.1386, allocations: 4 kB / 352.1 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1386, allocations: 19.92 kB / 352.1 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.1387, allocations: 37.7 kB / 352.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1388, allocations: 51.88 kB / 352.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1388, allocations: 0 / 352.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1388, allocations: 3.938 kB / 352.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1388, allocations: 0 / 352.2 MB, free: 2.746 MB / 286.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.0004833/0.1393, allocations: 379.2 kB / 352.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1394, allocations: 12.03 kB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.1395, allocations: 11.81 kB / 352.6 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1397, allocations: 190.9 kB / 352.8 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1398, allocations: 15.98 kB / 352.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1398, allocations: 4 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1403, allocations: 214.9 kB / 353 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1403, allocations: 0 / 353 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1403, allocations: 4 kB / 353 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1403, allocations: 11.88 kB / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.1404, allocations: 39.97 kB / 353 MB, free: 1.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.1407, allocations: 189.5 kB / 353.2 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.141, allocations: 130.2 kB / 353.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.141, allocations: 8 kB / 353.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.141, allocations: 34.56 kB / 353.4 MB, free: 1.367 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.1411, allocations: 3.938 kB / 353.4 MB, free: 1.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003594/0.1414, allocations: 145.8 kB / 353.5 MB, free: 1.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1415, allocations: 63.34 kB / 353.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.1417, allocations: 148.7 kB / 353.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1418, allocations: 25.7 kB / 353.8 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1418, allocations: 84.47 kB / 353.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1419, allocations: 19.89 kB / 353.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1419, allocations: 4 kB / 353.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.142, allocations: 322.8 kB / 354.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.1421, allocations: 15.98 kB / 354.2 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1422, allocations: 121.7 kB / 354.3 MB, free: 344 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.39e-05/0.1423, allocations: 39.94 kB / 354.4 MB, free: 304 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1423, allocations: 0 / 354.4 MB, free: 304 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002513/0.1426, allocations: 153.3 kB / 354.5 MB, free: 144 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1426, allocations: 8 kB / 354.5 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.1426, allocations: 4 kB / 354.5 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1426, allocations: 4 kB / 354.5 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.1427, allocations: 15.92 kB / 354.5 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1427, allocations: 4 kB / 354.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.1428, allocations: 11.91 kB / 354.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1428, allocations: 8.406 kB / 354.6 MB, free: 88 kB / 286.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.000208/0.143, allocations: 145.7 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.1432, allocations: 117.5 kB / 354.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.1432, allocations: 21.19 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1433, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1433, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1433, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1434, allocations: 193.4 kB / 355 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1435, allocations: 8 kB / 355 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.1435, allocations: 3.984 kB / 355 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1435, allocations: 3.938 kB / 355 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1435, allocations: 4 kB / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1435, allocations: 0 / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1435, allocations: 3.938 kB / 355.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1437, allocations: 151.9 kB / 355.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.144, allocations: 101 kB / 355.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.144, allocations: 8 kB / 355.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.131e-05/0.144, allocations: 4 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-06/0.144, allocations: 3.984 kB / 355.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1441, allocations: 8 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.1441, allocations: 113.8 kB / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 355.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1444, allocations: 16 kB / 355.5 MB, free: 15.1 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 0.0001394/0.1445, allocations: 99.78 kB / 355.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1447, allocations: 99.72 kB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1447, allocations: 0 / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.1447, allocations: 4 kB / 355.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1451, allocations: 71.94 kB / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.1456, allocations: 252.3 kB / 356 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.146, allocations: 0.7165 MB / 356.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.146, allocations: 12.64 kB / 356.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1461, allocations: 11.44 kB / 356.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1461, allocations: 0 / 356.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Templates: time 0.00357/0.1497, allocations: 0.8943 MB / 357.6 MB, free: 12.9 MB / 302.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches