Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009531/0.0009528, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.5 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.000237, allocations: 4 kB / 308.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001345/0.1045, allocations: 0.6022 MB / 360.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.1048, allocations: 135.6 kB / 360.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.1049, allocations: 4 kB / 360.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.158e-05/0.105, allocations: 11.86 kB / 360.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1052, allocations: 11.92 kB / 360.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1054, allocations: 39.97 kB / 360.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1055, allocations: 67.77 kB / 360.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1057, allocations: 47.95 kB / 360.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.1057, allocations: 15.94 kB / 360.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.1058, allocations: 35.78 kB / 360.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1058, allocations: 4 kB / 360.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1059, allocations: 0 / 360.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.1059, allocations: 23.92 kB / 360.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.106, allocations: 73.25 kB / 361 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.1061, allocations: 63.86 kB / 361 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1061, allocations: 0 / 361 MB, free: 12.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1061, allocations: 0 / 361 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1061, allocations: 0 / 361 MB, free: 12.17 MB / 302.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.0004758/0.1066, allocations: 395.3 kB / 361.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1067, allocations: 12.03 kB / 361.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.1067, allocations: 12.75 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1069, allocations: 215.5 kB / 361.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.107, allocations: 4.312 kB / 361.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.107, allocations: 12.38 kB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.1074, allocations: 234.1 kB / 361.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1074, allocations: 192 / 361.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1074, allocations: 7.938 kB / 361.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1074, allocations: 4 kB / 361.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.1075, allocations: 47.91 kB / 362 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1077, allocations: 189.6 kB / 362.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.108, allocations: 153.3 kB / 362.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1082, allocations: 80.83 kB / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1082, allocations: 0 / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1082, allocations: 38.55 kB / 362.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1082, allocations: 0 / 362.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003245/0.1085, allocations: 177.6 kB / 362.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1086, allocations: 63.41 kB / 362.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1088, allocations: 162.2 kB / 362.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1088, allocations: 25.7 kB / 362.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.1089, allocations: 100.4 kB / 362.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1089, allocations: 4 kB / 362.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1089, allocations: 25.7 kB / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1091, allocations: 330.8 kB / 363.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.681e-05/0.1091, allocations: 19.98 kB / 363.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1093, allocations: 128.3 kB / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1094, allocations: 157.5 kB / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1094, allocations: 0 / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002163/0.1097, allocations: 161.2 kB / 363.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1097, allocations: 4 kB / 363.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1097, allocations: 7.938 kB / 363.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1097, allocations: 4.5 kB / 363.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1098, allocations: 39.92 kB / 363.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1099, allocations: 11.92 kB / 363.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.1099, allocations: 11.91 kB / 363.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1099, allocations: 8 kB / 363.8 MB, free: 9.062 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.00014/0.1101, allocations: 153.7 kB / 364 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.1103, allocations: 133.5 kB / 364.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.1103, allocations: 25.11 kB / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1103, allocations: 4 kB / 364.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1104, allocations: 8 kB / 364.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1104, allocations: 0 / 364.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1105, allocations: 185.5 kB / 364.3 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1105, allocations: 4 kB / 364.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1106, allocations: 31.97 kB / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1106, allocations: 0 / 364.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1107, allocations: 7.938 kB / 364.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1107, allocations: 0 / 364.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1107, allocations: 0 / 364.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1109, allocations: 168.9 kB / 364.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1109, allocations: 100.9 kB / 364.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.111, allocations: 11.88 kB / 364.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.111, allocations: 7.984 kB / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.111, allocations: 0 / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.111, allocations: 4 kB / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9e-05/0.1111, allocations: 122.4 kB / 364.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1111, allocations: 0 / 364.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1114, allocations: 24 kB / 364.8 MB, free: 7.988 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001246/0.1115, allocations: 104.3 kB / 364.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.1117, allocations: 104.6 kB / 365 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1117, allocations: 0 / 365 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1117, allocations: 4.125 kB / 365 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1121, allocations: 101.7 kB / 365.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.1125, allocations: 305.7 kB / 365.4 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1129, allocations: 0.7204 MB / 366.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1129, allocations: 15.44 kB / 366.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1129, allocations: 4 kB / 366.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of Templates: time 0.002781/0.1157, allocations: 1.348 MB / 367.5 MB, free: 5.234 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches