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.001193/0.001193, allocations: 106.6 kB / 16.45 MB, free: 6.449 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.001276/0.001276, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.834/1.834, allocations: 205.1 MB / 223.3 MB, free: 12.22 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.08591/0.08591, 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.001937/0.001937, allocations: 86.33 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1367, allocations: 49.41 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002449/0.1392, allocations: 0.9266 MB / 444.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.1397, allocations: 123.6 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1399, allocations: 8 kB / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.14, allocations: 11.86 kB / 444.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1401, allocations: 7.938 kB / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1404, allocations: 43.88 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1405, allocations: 59.84 kB / 444.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.1407, allocations: 48.19 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1408, allocations: 19.92 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.1409, allocations: 39.78 kB / 444.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1409, allocations: 7.938 kB / 444.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.1409, allocations: 4 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.141, allocations: 19.92 kB / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.1411, allocations: 39.73 kB / 444.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1412, allocations: 87.64 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1412, allocations: 0 / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1413, allocations: 0 / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1413, allocations: 4 kB / 445 MB, free: 15.04 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.0006377/0.1419, allocations: 387.1 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.142, allocations: 8.031 kB / 445.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.142, allocations: 12.84 kB / 445.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1424, allocations: 208 kB / 445.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1424, allocations: 8.375 kB / 445.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1425, allocations: 8.375 kB / 445.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.1429, allocations: 223.5 kB / 445.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1429, allocations: 4.125 kB / 445.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1429, allocations: 3.938 kB / 445.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.143, allocations: 7.984 kB / 445.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.143, allocations: 35.98 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1432, allocations: 193.5 kB / 446.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1435, allocations: 123 kB / 446.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1436, allocations: 80.83 kB / 446.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1437, allocations: 0 / 446.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1437, allocations: 34.56 kB / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.1437, allocations: 0 / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000363/0.1441, allocations: 161.4 kB / 446.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.1441, allocations: 59.41 kB / 446.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1443, allocations: 149.6 kB / 446.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1443, allocations: 29.7 kB / 446.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.1444, allocations: 84.47 kB / 446.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.1444, allocations: 11.98 kB / 446.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.1445, allocations: 49.61 kB / 446.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1446, allocations: 322.8 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.1446, allocations: 19.98 kB / 447.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.1447, allocations: 109.7 kB / 447.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1449, allocations: 157.5 kB / 447.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1449, allocations: 0 / 447.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002076/0.1451, allocations: 153.6 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1452, allocations: 7.938 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1452, allocations: 4 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1452, allocations: 4 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.28e-05/0.1452, allocations: 19.92 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1453, allocations: 11.94 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.1453, allocations: 11.84 kB / 447.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1453, allocations: 8 kB / 447.7 MB, free: 12.05 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.0002021/0.1456, allocations: 149.9 kB / 447.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.1457, allocations: 117.5 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1458, allocations: 17.19 kB / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1458, allocations: 0 / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1458, allocations: 4 kB / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1458, allocations: 0 / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.146, allocations: 189.5 kB / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.146, allocations: 0 / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.146, allocations: 4 kB / 448.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.146, allocations: 15.86 kB / 448.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.146, allocations: 4 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.146, allocations: 3.938 kB / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.146, allocations: 0 / 448.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1462, allocations: 145.7 kB / 448.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.1463, allocations: 104.9 kB / 448.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1463, allocations: 3.938 kB / 448.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.1464, allocations: 8 kB / 448.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-06/0.1464, allocations: 4 kB / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1464, allocations: 0 / 448.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.815e-05/0.1465, allocations: 107.3 kB / 448.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1465, allocations: 0 / 448.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1467, allocations: 16 kB / 448.5 MB, free: 11.07 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.0001193/0.1469, allocations: 107.2 kB / 448.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1471, allocations: 88.16 kB / 448.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1471, allocations: 0 / 448.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/0.1471, allocations: 4 kB / 448.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1475, allocations: 87.86 kB / 448.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.1479, allocations: 221.6 kB / 449 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1481, allocations: 0.7091 MB / 449.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.448e-05/0.1482, allocations: 16.64 kB / 449.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1482, allocations: 11.44 kB / 449.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1482, allocations: 0 / 449.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of Templates: time 0.003559/0.1518, allocations: 1.032 MB / 450.8 MB, free: 8.746 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