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.001215/0.001215, allocations: 96.05 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 180.2 kB / 16.61 MB, free: 6.422 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.609/1.609, allocations: 205.4 MB / 222.8 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08589/0.08589, allocations: 12.61 MB / 283.6 MB, free: 8.715 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.0008128/0.0008137, allocations: 20 kB / 344.5 MB, free: 21.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1195, allocations: 50.37 MB / 394.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001285/0.1208, allocations: 0.6156 MB / 395.5 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.1212, allocations: 131.6 kB / 395.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.1213, allocations: 7.938 kB / 395.6 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.801e-05/0.1214, allocations: 11.92 kB / 395.7 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.1215, allocations: 7.938 kB / 395.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1217, allocations: 39.95 kB / 395.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.1218, allocations: 43.84 kB / 395.7 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1219, allocations: 24.39 kB / 395.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.122, allocations: 19.92 kB / 395.8 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.122, allocations: 23.86 kB / 395.8 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.122, allocations: 4 kB / 395.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.1221, allocations: 0 / 395.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1221, allocations: 19.92 kB / 395.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1222, allocations: 41.62 kB / 395.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.714e-05/0.1223, allocations: 47.91 kB / 395.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1223, allocations: 0 / 395.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1223, allocations: 3.984 kB / 395.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1223, allocations: 0 / 395.9 MB, free: 1.777 MB / 286.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.0003781/0.1227, allocations: 379.2 kB / 396.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1227, allocations: 12.03 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1228, allocations: 15.81 kB / 396.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.123, allocations: 194.8 kB / 396.5 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.123, allocations: 15.94 kB / 396.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1231, allocations: 7.938 kB / 396.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.1235, allocations: 218.9 kB / 396.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1235, allocations: 3.953 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1235, allocations: 0 / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1235, allocations: 0 / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.1236, allocations: 35.98 kB / 396.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1238, allocations: 185.6 kB / 397 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.124, allocations: 134.5 kB / 397.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.124, allocations: 0 / 397.1 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1241, allocations: 34.94 kB / 397.1 MB, free: 408 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.1241, allocations: 0 / 397.1 MB, free: 408 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003011/0.1244, allocations: 161.6 kB / 397.3 MB, free: 240 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1245, allocations: 63.39 kB / 397.4 MB, free: 164 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1246, allocations: 149 kB / 397.5 MB, free: 8 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1246, allocations: 25.7 kB / 397.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.1247, allocations: 96.44 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1247, allocations: 4 kB / 397.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1247, allocations: 11.94 kB / 397.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1248, allocations: 318.8 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.1249, allocations: 19.98 kB / 398 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.125, allocations: 117.7 kB / 398.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.1251, allocations: 35.98 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1251, allocations: 4 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002018/0.1253, allocations: 161.1 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1253, allocations: 4 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1253, allocations: 4 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1253, allocations: 8.5 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.319e-05/0.1254, allocations: 7.938 kB / 398.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.1254, allocations: 15.94 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.1255, allocations: 12 kB / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1255, allocations: 8 kB / 398.3 MB, free: 15.09 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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.1257, allocations: 133.7 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.126, allocations: 113.5 kB / 398.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.1261, allocations: 25.17 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1261, allocations: 7.938 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1261, allocations: 4 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1261, allocations: 3.953 kB / 398.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1263, allocations: 185.5 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1263, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.1263, allocations: 11.94 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1263, allocations: 0 / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1264, allocations: 0 / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1264, allocations: 0 / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1264, allocations: 7.984 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1266, allocations: 149.6 kB / 399 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.1267, allocations: 100.9 kB / 399.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1268, allocations: 4 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.1268, allocations: 3.984 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-06/0.1268, allocations: 11.92 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1268, allocations: 4 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.1269, allocations: 104.2 kB / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.127, allocations: 0 / 399.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.1273, allocations: 16 kB / 399.2 MB, free: 14.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001363/0.1275, allocations: 107.9 kB / 399.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1277, allocations: 95.72 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1277, allocations: 1 kB / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.1278, allocations: 0 / 399.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1283, allocations: 79.97 kB / 399.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.1287, allocations: 247.3 kB / 399.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1292, allocations: 0.7281 MB / 400.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.366e-05/0.1292, allocations: 8.641 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1293, allocations: 11.44 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1293, allocations: 0 / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003382/0.1327, allocations: 0.8978 MB / 401.4 MB, free: 11.89 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches