Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.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.001622/0.001622, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.00199/0.00199, allocations: 192 kB / 18.61 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001022, allocations: 55.14 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.109, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002982/0.112, allocations: 0.9106 MB / 352.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004201/0.1125, allocations: 131.5 kB / 352.5 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1126, allocations: 8 kB / 352.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1127, allocations: 15.86 kB / 352.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.1128, allocations: 7.922 kB / 352.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1131, allocations: 43.89 kB / 352.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1132, allocations: 59.84 kB / 352.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1134, allocations: 44.2 kB / 352.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.1134, allocations: 23.92 kB / 352.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1135, allocations: 35.78 kB / 352.8 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.1135, allocations: 4 kB / 352.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.1136, allocations: 4 kB / 352.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.1137, allocations: 27.86 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.566e-05/0.1137, allocations: 43.67 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1139, allocations: 79.7 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1139, allocations: 3.938 kB / 352.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1139, allocations: 4 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1139, allocations: 0 / 352.9 MB, free: 2.246 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.000559/0.1145, allocations: 395 kB / 353.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1146, allocations: 8.031 kB / 353.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1146, allocations: 12.84 kB / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1149, allocations: 200 kB / 353.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.115, allocations: 12.33 kB / 353.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.115, allocations: 8.375 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.1155, allocations: 215.6 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1155, allocations: 4.125 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1155, allocations: 7.938 kB / 353.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1155, allocations: 4 kB / 353.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/0.1156, allocations: 35.98 kB / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.1159, allocations: 193.5 kB / 354 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1161, allocations: 129.5 kB / 354.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1162, allocations: 81.19 kB / 354.2 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1163, allocations: 3.938 kB / 354.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1163, allocations: 38.56 kB / 354.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1163, allocations: 0 / 354.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003261/0.1166, allocations: 157.4 kB / 354.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.1167, allocations: 59.41 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1169, allocations: 145.7 kB / 354.6 MB, free: 384 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1169, allocations: 29.7 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.117, allocations: 84.47 kB / 354.7 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.117, allocations: 15.98 kB / 354.7 MB, free: 240 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1171, allocations: 37.62 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1172, allocations: 322.8 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.1173, allocations: 19.98 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1174, allocations: 116.5 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.1176, allocations: 153.5 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1176, allocations: 0 / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002156/0.1178, allocations: 157.5 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1178, allocations: 11.92 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1179, allocations: 4 kB / 355.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.1179, allocations: 7.938 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-05/0.1179, allocations: 11.94 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.1179, allocations: 7.938 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.118, allocations: 7.906 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.118, allocations: 12 kB / 355.6 MB, free: 15.27 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.0001611/0.1182, allocations: 150.5 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.1184, allocations: 124.3 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1184, allocations: 17.19 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1184, allocations: 0 / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1185, allocations: 4 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1185, allocations: 3.984 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1186, allocations: 189.5 kB / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1186, allocations: 0 / 356.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.1187, allocations: 8 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1187, allocations: 7.938 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1187, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1187, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1187, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1189, allocations: 156.8 kB / 356.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.119, allocations: 97 kB / 356.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.119, allocations: 7.938 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.1191, allocations: 4 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-06/0.1191, allocations: 4 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1191, allocations: 0 / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.1192, allocations: 107.2 kB / 356.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1192, allocations: 4 kB / 356.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1194, allocations: 16 kB / 356.5 MB, free: 14.28 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.0001357/0.1196, allocations: 107.2 kB / 356.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1198, allocations: 103.8 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1198, allocations: 0 / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1198, allocations: 0 / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.1202, allocations: 82.94 kB / 356.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.1205, allocations: 229.8 kB / 357 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1208, allocations: 0.7162 MB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.1209, allocations: 8.641 kB / 357.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1209, allocations: 11.44 kB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1209, allocations: 0 / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Templates: time 0.00368/0.1246, allocations: 1.033 MB / 358.7 MB, free: 11.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches