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.00136/0.00136, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 57.06 kB / 306.9 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003503/0.1384, allocations: 0.907 MB / 358.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.1391, allocations: 135.6 kB / 358.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1393, allocations: 0 / 358.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1395, allocations: 7.875 kB / 358.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1396, allocations: 15.92 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.14, allocations: 39.89 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1402, allocations: 59.84 kB / 358.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1404, allocations: 44.2 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1405, allocations: 27.91 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.1405, allocations: 35.72 kB / 358.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.1406, allocations: 8 kB / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.1406, allocations: 4 kB / 358.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1407, allocations: 27.92 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.1408, allocations: 35.73 kB / 358.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.141, allocations: 83.7 kB / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.141, allocations: 0 / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1411, allocations: 0 / 358.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1411, allocations: 0 / 358.9 MB, free: 12.63 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.0006302/0.1417, allocations: 391.3 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.1418, allocations: 15.97 kB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1418, allocations: 8.844 kB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1421, allocations: 208 kB / 359.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1422, allocations: 8.375 kB / 359.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/0.1423, allocations: 8.375 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.1427, allocations: 210.1 kB / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1427, allocations: 192 / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1428, allocations: 15.86 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1428, allocations: 4 kB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.1429, allocations: 39.92 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.1431, allocations: 189.5 kB / 360 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1434, allocations: 127 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1436, allocations: 83.36 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1436, allocations: 0 / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1437, allocations: 30.56 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.1437, allocations: 4 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004048/0.1441, allocations: 153.4 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.1442, allocations: 59.41 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1444, allocations: 153.5 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1444, allocations: 29.7 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.1445, allocations: 88.41 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.1445, allocations: 15.89 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.1446, allocations: 37.7 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1448, allocations: 322.8 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.543e-05/0.1449, allocations: 19.98 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.145, allocations: 116.2 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1452, allocations: 157.4 kB / 361.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1452, allocations: 4 kB / 361.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002351/0.1454, allocations: 153.2 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1454, allocations: 7.938 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1455, allocations: 4 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1455, allocations: 4 kB / 361.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.181e-05/0.1455, allocations: 19.92 kB / 361.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1455, allocations: 4.5 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.1456, allocations: 11.91 kB / 361.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1456, allocations: 12 kB / 361.6 MB, free: 9.652 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,$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.0002285/0.1459, allocations: 145.7 kB / 361.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.146, allocations: 124.8 kB / 361.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.1461, allocations: 17.19 kB / 361.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1461, allocations: 4 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1461, allocations: 0 / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1461, allocations: 0 / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1463, allocations: 189.5 kB / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1463, allocations: 0 / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.1463, allocations: 4 kB / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1463, allocations: 7.922 kB / 362 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1464, allocations: 7.938 kB / 362 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1464, allocations: 0 / 362 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1464, allocations: 0 / 362 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1466, allocations: 148.9 kB / 362.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.1467, allocations: 105 kB / 362.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1467, allocations: 3.938 kB / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.1467, allocations: 8 kB / 362.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-06/0.1467, allocations: 0 / 362.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1467, allocations: 4 kB / 362.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.1468, allocations: 109.7 kB / 362.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1468, allocations: 0 / 362.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1471, allocations: 16 kB / 362.4 MB, free: 8.676 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 (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.0001392/0.1472, allocations: 118 kB / 362.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1475, allocations: 107.7 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1475, allocations: 0 / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.1475, allocations: 0 / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1479, allocations: 88.83 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.1483, allocations: 223.6 kB / 363 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1486, allocations: 0.7123 MB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.1486, allocations: 8.438 kB / 363.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.1487, allocations: 15.44 kB / 363.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1487, allocations: 4 kB / 363.7 MB, free: 7.344 MB / 302.1 MB Notification: Performance of Templates: time 0.004315/0.153, allocations: 1.02 MB / 364.7 MB, free: 6.336 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches