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.001243/0.001243, allocations: 105 kB / 17.59 MB, free: 5.418 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.002142/0.002142, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.37/1.37, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 43.41 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1065, allocations: 49.44 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002237/0.1088, allocations: 0.8996 MB / 351.6 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.1092, allocations: 139.5 kB / 351.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.1093, allocations: 3.938 kB / 351.8 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.862e-05/0.1094, allocations: 11.88 kB / 351.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.1095, allocations: 11.91 kB / 351.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1097, allocations: 39.91 kB / 351.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.822e-05/0.1098, allocations: 59.83 kB / 351.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1099, allocations: 48.19 kB / 351.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.24e-05/0.11, allocations: 19.94 kB / 352 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.11, allocations: 39.72 kB / 352 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.11, allocations: 4 kB / 352 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.1101, allocations: 8 kB / 352 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.1101, allocations: 23.92 kB / 352 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1102, allocations: 39.73 kB / 352.1 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1103, allocations: 83.7 kB / 352.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1103, allocations: 0 / 352.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1103, allocations: 0 / 352.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1103, allocations: 0 / 352.1 MB, free: 2.98 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.0004002/0.1108, allocations: 399.3 kB / 352.5 MB, free: 2.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1108, allocations: 8.031 kB / 352.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1108, allocations: 12.84 kB / 352.6 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.111, allocations: 208 kB / 352.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1111, allocations: 8.328 kB / 352.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1111, allocations: 8.375 kB / 352.8 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1114, allocations: 207.6 kB / 353 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1115, allocations: 4.188 kB / 353 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1115, allocations: 7.938 kB / 353 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1115, allocations: 4 kB / 353 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.1116, allocations: 39.92 kB / 353 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1117, allocations: 189.5 kB / 353.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1119, allocations: 130.6 kB / 353.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1121, allocations: 88.36 kB / 353.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1121, allocations: 0 / 353.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1121, allocations: 34.56 kB / 353.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.1121, allocations: 0 / 353.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002807/0.1124, allocations: 149.4 kB / 353.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1125, allocations: 63.41 kB / 353.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1126, allocations: 152.1 kB / 353.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1126, allocations: 29.7 kB / 353.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1127, allocations: 92.41 kB / 353.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1127, allocations: 3.938 kB / 353.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1127, allocations: 45.61 kB / 354 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1129, allocations: 318.8 kB / 354.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.1129, allocations: 23.98 kB / 354.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.113, allocations: 113.7 kB / 354.4 MB, free: 432 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1131, allocations: 149.5 kB / 354.6 MB, free: 232 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1132, allocations: 4 kB / 354.6 MB, free: 228 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002108/0.1134, allocations: 153.2 kB / 354.7 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1134, allocations: 15.88 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1134, allocations: 4 kB / 354.8 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1134, allocations: 7.984 kB / 354.8 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.413e-05/0.1135, allocations: 8.438 kB / 354.8 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1135, allocations: 4 kB / 354.8 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1135, allocations: 19.91 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1135, allocations: 8 kB / 354.8 MB, free: 0 / 286.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.0001587/0.1137, allocations: 150.2 kB / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.1139, allocations: 125.4 kB / 355.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.1139, allocations: 13.19 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1139, allocations: 7.984 kB / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1139, allocations: 0 / 355.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1139, allocations: 7.984 kB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1141, allocations: 185.5 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1141, allocations: 0 / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.1141, allocations: 4 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1141, allocations: 3.938 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1141, allocations: 0 / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1141, allocations: 4 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1141, allocations: 0 / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1143, allocations: 155.4 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1144, allocations: 97 kB / 355.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1144, allocations: 11.94 kB / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.345e-05/0.1144, allocations: 8 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-06/0.1145, allocations: 0 / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1145, allocations: 4 kB / 355.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.489e-05/0.1145, allocations: 110.2 kB / 355.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1145, allocations: 0 / 355.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1148, allocations: 16 kB / 355.7 MB, free: 15.02 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.0001118/0.1149, allocations: 107.2 kB / 355.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.1151, allocations: 107.7 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1151, allocations: 4 kB / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.1151, allocations: 1 kB / 355.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1155, allocations: 83.38 kB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1158, allocations: 270.6 kB / 356.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1161, allocations: 0.7122 MB / 357 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1162, allocations: 15.44 kB / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1162, allocations: 0 / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002586/0.1187, allocations: 1.19 MB / 358.2 MB, free: 12.48 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 -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