Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 113 kB / 16.62 MB, free: 6.332 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.001266/0.001266, allocations: 189.8 kB / 17.55 MB, free: 5.801 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.48/1.48, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.00111, allocations: 45.98 kB / 300.1 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1073, allocations: 49.44 MB / 349.6 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002632/0.11, allocations: 0.952 MB / 350.5 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.1105, allocations: 147.5 kB / 350.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1106, allocations: 4 kB / 350.7 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1108, allocations: 11.86 kB / 350.7 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1109, allocations: 11.94 kB / 350.7 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1112, allocations: 43.94 kB / 350.7 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1114, allocations: 67.78 kB / 350.8 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1116, allocations: 43.97 kB / 350.8 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1116, allocations: 23.92 kB / 350.9 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1117, allocations: 39.78 kB / 350.9 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1118, allocations: 8 kB / 350.9 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.1118, allocations: 8 kB / 350.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.657e-05/0.1119, allocations: 27.91 kB / 351 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.112, allocations: 51.67 kB / 351 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1122, allocations: 91.62 kB / 351.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1122, allocations: 0 / 351.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1122, allocations: 3.938 kB / 351.1 MB, free: 2.992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1122, allocations: 0 / 351.1 MB, free: 2.992 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.0006047/0.1128, allocations: 419.1 kB / 351.5 MB, free: 2.531 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1129, allocations: 8.031 kB / 351.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.113, allocations: 16.84 kB / 351.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1132, allocations: 208 kB / 351.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1133, allocations: 4.375 kB / 351.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1133, allocations: 8.375 kB / 351.7 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.1137, allocations: 234.5 kB / 352 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1137, allocations: 192 / 352 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1138, allocations: 7.938 kB / 352 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1138, allocations: 4 kB / 352 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.614e-05/0.1139, allocations: 43.97 kB / 352 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.1141, allocations: 201.5 kB / 352.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1143, allocations: 147 kB / 352.4 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1144, allocations: 88.12 kB / 352.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1145, allocations: 4 kB / 352.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1145, allocations: 34.56 kB / 352.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1145, allocations: 0 / 352.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000322/0.1148, allocations: 173.6 kB / 352.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.1149, allocations: 63.41 kB / 352.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1151, allocations: 171.8 kB / 352.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1151, allocations: 25.7 kB / 352.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.1152, allocations: 92.47 kB / 353 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.1152, allocations: 11.98 kB / 353 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.1153, allocations: 41.61 kB / 353.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1154, allocations: 322.8 kB / 353.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.1155, allocations: 27.92 kB / 353.4 MB, free: 480 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1156, allocations: 113.7 kB / 353.5 MB, free: 316 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1158, allocations: 157.5 kB / 353.7 MB, free: 108 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1158, allocations: 3.938 kB / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002943/0.1161, allocations: 165.2 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1161, allocations: 4 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1161, allocations: 7.938 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1162, allocations: 4 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1163, allocations: 36.42 kB / 353.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1163, allocations: 8 kB / 353.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.1164, allocations: 15.84 kB / 353.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1164, allocations: 12 kB / 353.9 MB, free: 15.85 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.0001372/0.1165, allocations: 149.6 kB / 354.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.1167, allocations: 133.5 kB / 354.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.1168, allocations: 25.12 kB / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1168, allocations: 4 kB / 354.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1168, allocations: 4 kB / 354.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1169, allocations: 7.922 kB / 354.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.117, allocations: 189.5 kB / 354.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.117, allocations: 0 / 354.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1171, allocations: 27.92 kB / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1172, allocations: 0 / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1172, allocations: 11.94 kB / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1172, allocations: 0 / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1172, allocations: 0 / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1174, allocations: 180.3 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.1175, allocations: 97 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1176, allocations: 3.938 kB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.1176, allocations: 8 kB / 354.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-06/0.1176, allocations: 0 / 354.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1176, allocations: 4 kB / 354.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.429e-05/0.1177, allocations: 118.9 kB / 354.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1177, allocations: 0 / 354.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000256/0.118, allocations: 20 kB / 354.9 MB, free: 14.79 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.0001464/0.1181, allocations: 111.2 kB / 355 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1184, allocations: 119.7 kB / 355.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1184, allocations: 1 kB / 355.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.1184, allocations: 0 / 355.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1188, allocations: 92.67 kB / 355.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.1194, allocations: 282.3 kB / 355.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1198, allocations: 0.7277 MB / 356.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.209e-05/0.1198, allocations: 5.094 kB / 356.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.1198, allocations: 15.44 kB / 356.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1198, allocations: 0 / 356.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Templates: time 0.003868/0.1237, allocations: 1.171 MB / 357.4 MB, free: 12.23 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches