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.00134/0.001339, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 61.31 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1386, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002743/0.1414, allocations: 0.9065 MB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.1418, allocations: 131.6 kB / 359.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.1419, allocations: 4 kB / 359.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.142, allocations: 11.86 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.1421, allocations: 3.938 kB / 360 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.1424, allocations: 51.64 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1425, allocations: 63.83 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1427, allocations: 52.17 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.1428, allocations: 27.8 kB / 360.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1428, allocations: 31.84 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1429, allocations: 4 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.1429, allocations: 4 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.143, allocations: 23.92 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.143, allocations: 39.73 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1432, allocations: 83.64 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1432, allocations: 0 / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1432, allocations: 4 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1432, allocations: 0 / 360.3 MB, free: 11.9 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.0005313/0.1437, allocations: 399 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1438, allocations: 11.97 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1438, allocations: 12.84 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1441, allocations: 204 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1441, allocations: 12.38 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1442, allocations: 12.38 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.1446, allocations: 225.7 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1446, allocations: 192 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1446, allocations: 3.938 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1446, allocations: 4 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.1447, allocations: 39.98 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.1449, allocations: 189.5 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1452, allocations: 126.5 kB / 361.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1453, allocations: 81.2 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1453, allocations: 0 / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1453, allocations: 38.55 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 9.51e-07/0.1454, allocations: 0 / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003023/0.1457, allocations: 157.4 kB / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.1457, allocations: 63.41 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1459, allocations: 148.1 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1459, allocations: 29.7 kB / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.146, allocations: 88.45 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.146, allocations: 15.91 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1461, allocations: 33.7 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1462, allocations: 322.8 kB / 362.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.1462, allocations: 23.98 kB / 362.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1463, allocations: 120.8 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1465, allocations: 145.5 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1465, allocations: 0 / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002138/0.1467, allocations: 157.5 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1468, allocations: 11.88 kB / 363 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1468, allocations: 4 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1468, allocations: 7.938 kB / 363 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.75e-05/0.1468, allocations: 11.98 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1469, allocations: 7.938 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.1469, allocations: 11.91 kB / 363 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1469, allocations: 8 kB / 363 MB, free: 8.906 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.0001416/0.1471, allocations: 153.9 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1472, allocations: 117.5 kB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.1473, allocations: 17.19 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1473, allocations: 7.984 kB / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1473, allocations: 0 / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1473, allocations: 3.984 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1475, allocations: 181.5 kB / 363.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1475, allocations: 3.984 kB / 363.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.1475, allocations: 11.94 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1475, allocations: 3.938 kB / 363.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1475, allocations: 4 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1475, allocations: 0 / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1475, allocations: 0 / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1477, allocations: 148.9 kB / 363.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.1478, allocations: 104.9 kB / 363.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1479, allocations: 3.938 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.677e-05/0.1479, allocations: 12 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-06/0.1479, allocations: 0 / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1479, allocations: 0 / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.148, allocations: 117.8 kB / 363.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 363.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1482, allocations: 16 kB / 363.9 MB, free: 7.914 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.0001258/0.1484, allocations: 109.9 kB / 364 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1486, allocations: 91.78 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1486, allocations: 0 / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.1486, allocations: 4 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.149, allocations: 90.12 kB / 364.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.1494, allocations: 214.7 kB / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1497, allocations: 0.7201 MB / 365.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.1497, allocations: 4.656 kB / 365.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.1498, allocations: 19.31 kB / 365.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1498, allocations: 0 / 365.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of Templates: time 0.003574/0.1534, allocations: 1.011 MB / 366.1 MB, free: 5.609 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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