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.001272/0.001272, allocations: 101.6 kB / 16.45 MB, free: 6.434 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.001451/0.001451, allocations: 189.5 kB / 17.39 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.762/1.762, allocations: 205.1 MB / 223.3 MB, free: 12.28 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.08367/0.08367, allocations: 12.59 MB / 283.2 MB, free: 15.42 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.00189/0.00189, allocations: 86.67 kB / 394.2 MB, free: 45.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.128, allocations: 49.42 MB / 443.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002599/0.1306, allocations: 0.911 MB / 444.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004308/0.1311, allocations: 127.6 kB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1312, allocations: 4 kB / 444.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.1314, allocations: 11.86 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.1315, allocations: 7.938 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1318, allocations: 43.88 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1319, allocations: 59.84 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1321, allocations: 48.19 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.1322, allocations: 27.86 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.1322, allocations: 35.78 kB / 444.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1323, allocations: 4 kB / 444.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.1323, allocations: 4 kB / 444.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.1324, allocations: 23.92 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.1325, allocations: 39.73 kB / 444.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1326, allocations: 83.66 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1327, allocations: 3.938 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1327, allocations: 0 / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1327, 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.0004989/0.1332, allocations: 395.1 kB / 445.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1332, allocations: 8.031 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.1333, allocations: 16.84 kB / 445.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1336, allocations: 200 kB / 445.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1336, allocations: 8.359 kB / 445.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1337, allocations: 12.38 kB / 445.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.1341, allocations: 215.5 kB / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.1342, allocations: 192 / 445.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1342, allocations: 11.92 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1342, allocations: 4 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.1343, allocations: 35.98 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.1345, allocations: 189.5 kB / 446.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.1348, allocations: 131 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.1349, allocations: 80.83 kB / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1349, allocations: 0 / 446.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1349, allocations: 30.56 kB / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1349, allocations: 4 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003377/0.1353, allocations: 157.4 kB / 446.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.1354, allocations: 59.41 kB / 446.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1355, allocations: 153.6 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1355, allocations: 29.7 kB / 446.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.1356, allocations: 80.47 kB / 446.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1356, allocations: 11.98 kB / 446.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1357, allocations: 45.61 kB / 446.8 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1358, allocations: 326.8 kB / 447.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.1359, allocations: 20 kB / 447.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.136, allocations: 125.7 kB / 447.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1361, allocations: 145.5 kB / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1362, allocations: 0 / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002284/0.1364, allocations: 153.7 kB / 447.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1364, allocations: 12.03 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1364, allocations: 4 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1365, allocations: 4 kB / 447.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.088e-05/0.1365, allocations: 11.94 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1365, allocations: 11.92 kB / 447.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.1366, allocations: 15.84 kB / 447.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1366, allocations: 11.94 kB / 447.7 MB, free: 12.06 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.0001349/0.1367, allocations: 145.7 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1369, allocations: 114.1 kB / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.137, allocations: 25.17 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.137, allocations: 4 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.137, allocations: 0 / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.137, allocations: 0 / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1372, allocations: 189.5 kB / 448.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1372, allocations: 0 / 448.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.1372, allocations: 4 kB / 448.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.1372, allocations: 3.938 kB / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.1372, allocations: 3.938 kB / 448.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1372, allocations: 7.984 kB / 448.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1372, allocations: 0 / 448.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1374, allocations: 145.1 kB / 448.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.1375, allocations: 100.9 kB / 448.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1376, allocations: 11.92 kB / 448.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.1376, allocations: 4 kB / 448.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-06/0.1376, allocations: 0 / 448.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.1376, allocations: 4 kB / 448.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.1377, allocations: 111.3 kB / 448.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1377, allocations: 0 / 448.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1379, allocations: 16 kB / 448.5 MB, free: 11.09 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.0001204/0.1381, allocations: 103.2 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1383, allocations: 92.78 kB / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1383, allocations: 0 / 448.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.1383, allocations: 4 kB / 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.0004021/0.1387, allocations: 87.88 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.1392, allocations: 221.6 kB / 449 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1396, allocations: 0.7045 MB / 449.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.1396, allocations: 12.64 kB / 449.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.1397, allocations: 15.5 kB / 449.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1397, allocations: 0 / 449.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Templates: time 0.004322/0.144, allocations: 1.079 MB / 450.8 MB, free: 8.723 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