Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001254/0.001255, allocations: 108.1 kB / 16.45 MB, free: 6.438 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.001835/0.001836, allocations: 186.4 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07794/0.07794, allocations: 12.59 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 82.08 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1361, allocations: 49.42 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002618/0.1387, allocations: 0.8994 MB / 444.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.1392, allocations: 135.6 kB / 444.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1394, allocations: 7.938 kB / 444.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1395, allocations: 11.86 kB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1396, allocations: 7.938 kB / 444.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1399, allocations: 47.89 kB / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1401, allocations: 59.83 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1403, allocations: 44.19 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.1404, allocations: 27.86 kB / 444.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.1404, allocations: 31.84 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1405, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.1405, allocations: 8 kB / 444.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1406, allocations: 23.92 kB / 444.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.1407, allocations: 43.72 kB / 444.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1409, allocations: 87.59 kB / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1409, allocations: 0 / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1409, allocations: 4 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1409, allocations: 0 / 445 MB, free: 15.06 MB / 334.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.0006102/0.1416, allocations: 387.1 kB / 445.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1416, allocations: 12.03 kB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1417, allocations: 8.844 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.142, allocations: 204 kB / 445.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.142, allocations: 4.375 kB / 445.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1421, allocations: 12.31 kB / 445.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.1425, allocations: 223.6 kB / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1425, allocations: 192 / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1426, allocations: 3.938 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1426, allocations: 0 / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.168e-05/0.1427, allocations: 43.91 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.1429, allocations: 193.5 kB / 446.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.1432, allocations: 134.9 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.1433, allocations: 76.83 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1433, allocations: 4 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1434, allocations: 34.56 kB / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.1434, allocations: 0 / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003686/0.1438, allocations: 149.4 kB / 446.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1439, allocations: 67.34 kB / 446.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.144, allocations: 149.6 kB / 446.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1441, allocations: 29.7 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1441, allocations: 88.47 kB / 446.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1441, allocations: 3.984 kB / 446.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.1442, allocations: 53.61 kB / 446.8 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1444, allocations: 314.8 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.1444, allocations: 23.98 kB / 447.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1445, allocations: 117.7 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1447, allocations: 149.5 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1447, allocations: 4 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002989/0.145, allocations: 153.5 kB / 447.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1451, allocations: 11.94 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1451, allocations: 4 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1451, allocations: 4 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.154e-05/0.1451, allocations: 7.938 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.1452, allocations: 11.98 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.1452, allocations: 15.84 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1453, allocations: 8 kB / 447.7 MB, free: 12.08 MB / 334.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.0001689/0.1454, allocations: 145.9 kB / 447.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.1456, allocations: 125.4 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.099e-05/0.1457, allocations: 21.17 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1457, allocations: 0 / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1457, allocations: 0 / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1457, allocations: 0 / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1459, allocations: 189.5 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1459, allocations: 3.938 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.1459, allocations: 4 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1459, allocations: 7.938 kB / 448.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1459, allocations: 4 kB / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1459, allocations: 0 / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1459, allocations: 0 / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1461, allocations: 149.6 kB / 448.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.1462, allocations: 96.94 kB / 448.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1462, allocations: 11.94 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.551e-05/0.1463, allocations: 4 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-06/0.1463, allocations: 4 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1463, allocations: 11.98 kB / 448.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.1464, allocations: 103.3 kB / 448.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1464, allocations: 0 / 448.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1466, allocations: 16 kB / 448.5 MB, free: 11.1 MB / 334.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.1468, allocations: 99.25 kB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.147, allocations: 104 kB / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.147, allocations: 0 / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.147, allocations: 0 / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1474, allocations: 83.88 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.1478, allocations: 221.6 kB / 449 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1481, allocations: 0.7171 MB / 449.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.688e-05/0.1481, allocations: 8.641 kB / 449.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.1482, allocations: 15.44 kB / 449.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1482, allocations: 0 / 449.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Templates: time 0.00435/0.1525, allocations: 1.028 MB / 450.8 MB, free: 8.773 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches