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.0009165/0.0009165, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001103/0.001103, allocations: 183.6 kB / 17.19 MB, free: 5.906 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.551/1.551, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 7.094 kB / 300.7 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.115, allocations: 50.43 MB / 351.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00147/0.1166, allocations: 0.5992 MB / 351.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.117, allocations: 143.5 kB / 351.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1171, allocations: 0 / 351.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.1172, allocations: 11.92 kB / 351.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1173, allocations: 11.92 kB / 351.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1176, allocations: 35.97 kB / 351.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1177, allocations: 47.88 kB / 352 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1178, allocations: 36.39 kB / 352 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.1179, allocations: 15.92 kB / 352 MB, free: 11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.118, allocations: 31.78 kB / 352.1 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.118, allocations: 3.938 kB / 352.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.118, allocations: 4 kB / 352.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1181, allocations: 31.91 kB / 352.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.1181, allocations: 41.64 kB / 352.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.147e-05/0.1182, allocations: 59.88 kB / 352.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1182, allocations: 4 kB / 352.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1182, allocations: 0 / 352.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1183, allocations: 0 / 352.2 MB, free: 10.82 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.0006442/0.1189, allocations: 386.9 kB / 352.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.119, allocations: 12.03 kB / 352.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.119, allocations: 15.86 kB / 352.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1193, allocations: 214.8 kB / 352.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1193, allocations: 4 kB / 352.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.1194, allocations: 12 kB / 352.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.1199, allocations: 233.8 kB / 353.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1199, allocations: 0 / 353.1 MB, free: 9.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.12, allocations: 8 kB / 353.1 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.12, allocations: 7.984 kB / 353.1 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1201, allocations: 47.91 kB / 353.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1205, allocations: 197.5 kB / 353.3 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.1208, allocations: 139 kB / 353.5 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1209, allocations: 8 kB / 353.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.1209, allocations: 38.5 kB / 353.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.1209, allocations: 0 / 353.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004239/0.1214, allocations: 172.1 kB / 353.7 MB, free: 9.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.1215, allocations: 59.41 kB / 353.7 MB, free: 9.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1217, allocations: 172.9 kB / 353.9 MB, free: 8.941 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1217, allocations: 25.7 kB / 353.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.1218, allocations: 96.47 kB / 354 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1218, allocations: 11.98 kB / 354 MB, free: 8.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1218, allocations: 4 kB / 354 MB, free: 8.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1219, allocations: 326.8 kB / 354.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.122, allocations: 19.98 kB / 354.4 MB, free: 8.445 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1221, allocations: 123.8 kB / 354.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.354e-05/0.1222, allocations: 43.94 kB / 354.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1222, allocations: 0 / 354.5 MB, free: 8.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000211/0.1224, allocations: 165.2 kB / 354.7 MB, free: 8.066 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1224, allocations: 4 kB / 354.7 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1224, allocations: 4 kB / 354.7 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1224, allocations: 8 kB / 354.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1226, allocations: 31.92 kB / 354.7 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1226, allocations: 7.938 kB / 354.7 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.1227, allocations: 8.406 kB / 354.8 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1227, allocations: 16 kB / 354.8 MB, free: 7.988 MB / 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001223/0.1228, allocations: 145.7 kB / 354.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.123, allocations: 133.4 kB / 355 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.123, allocations: 21.19 kB / 355.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1231, allocations: 0 / 355.1 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1231, allocations: 7.938 kB / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1231, allocations: 3.984 kB / 355.1 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1232, allocations: 197.4 kB / 355.3 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1232, allocations: 4 kB / 355.3 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1234, allocations: 23.98 kB / 355.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1234, allocations: 0 / 355.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1234, allocations: 11.94 kB / 355.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1234, allocations: 0 / 355.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1234, allocations: 0 / 355.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1236, allocations: 158.9 kB / 355.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1237, allocations: 116.8 kB / 355.6 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1238, allocations: 4 kB / 355.6 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.1238, allocations: 12 kB / 355.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.1238, allocations: 0 / 355.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.1238, allocations: 0 / 355.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1239, allocations: 119.2 kB / 355.7 MB, free: 6.945 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 0 / 355.7 MB, free: 6.945 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.1242, allocations: 16 kB / 355.7 MB, free: 6.93 MB / 286.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 (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.0001548/0.1244, allocations: 119.2 kB / 355.8 MB, free: 6.805 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1245, allocations: 91.83 kB / 355.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1246, allocations: 0 / 355.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.1246, allocations: 0 / 355.9 MB, free: 6.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1249, allocations: 92.88 kB / 356 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.1254, allocations: 272 kB / 356.3 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1257, allocations: 0.728 MB / 357 MB, free: 5.578 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.703e-05/0.1258, allocations: 21.06 kB / 357 MB, free: 5.555 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1258, allocations: 11.44 kB / 357 MB, free: 5.543 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1258, allocations: 0 / 357 MB, free: 5.543 MB / 286.1 MB Notification: Performance of Templates: time 0.003631/0.1295, allocations: 1.013 MB / 358.1 MB, free: 4.543 MB / 286.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches