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.001424/0.001424, allocations: 108.3 kB / 17.68 MB, free: 5.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.001413/0.001413, allocations: 192 kB / 18.62 MB, free: 4.41 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.448/1.448, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 54.42 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1204, allocations: 49.43 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002797/0.1233, allocations: 0.9025 MB / 352.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004261/0.1237, allocations: 143.5 kB / 352.5 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.1238, allocations: 4 kB / 352.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1239, allocations: 7.875 kB / 352.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1241, allocations: 23.86 kB / 352.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1243, allocations: 42.39 kB / 352.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1245, allocations: 71.77 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1247, allocations: 43.97 kB / 352.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.1247, allocations: 19.92 kB / 352.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.1248, allocations: 43.78 kB / 352.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.1248, allocations: 4 kB / 352.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.1249, allocations: 8 kB / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.1249, allocations: 35.89 kB / 352.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1251, allocations: 43.69 kB / 352.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1253, allocations: 99.56 kB / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1253, allocations: 0 / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.1253, allocations: 0 / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1253, allocations: 7.938 kB / 353 MB, free: 2.199 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.0005928/0.1259, allocations: 411 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1259, allocations: 8.031 kB / 353.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.126, allocations: 12.84 kB / 353.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1263, allocations: 215.9 kB / 353.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1263, allocations: 8.328 kB / 353.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1263, allocations: 16.3 kB / 353.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.1267, allocations: 234.5 kB / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1267, allocations: 192 / 353.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1268, allocations: 7.938 kB / 353.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1268, allocations: 7.984 kB / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.1269, allocations: 46.22 kB / 353.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.127, allocations: 197.5 kB / 354.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1273, allocations: 143 kB / 354.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1275, allocations: 84.75 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1275, allocations: 0 / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1275, allocations: 38.56 kB / 354.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.1275, allocations: 0 / 354.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003226/0.1279, allocations: 180.3 kB / 354.6 MB, free: 464 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1279, allocations: 63.39 kB / 354.6 MB, free: 388 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1282, allocations: 165.8 kB / 354.8 MB, free: 216 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1282, allocations: 25.7 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1282, allocations: 92.47 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1283, allocations: 11.92 kB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.1283, allocations: 49.55 kB / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1285, allocations: 322.8 kB / 355.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.1286, allocations: 27.98 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.1287, allocations: 109.7 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1288, allocations: 165.5 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1288, allocations: 0 / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002108/0.1291, allocations: 153.2 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1291, allocations: 8.5 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1291, allocations: 11.94 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1291, allocations: 4 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1292, allocations: 35.92 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1293, allocations: 4 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.1293, allocations: 7.906 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1293, allocations: 12 kB / 355.8 MB, free: 15.06 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.0001167/0.1295, allocations: 146.2 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.1296, allocations: 137.5 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.1297, allocations: 33.11 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1297, allocations: 3.938 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1297, allocations: 0 / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1297, allocations: 0 / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1298, allocations: 189.5 kB / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1299, allocations: 0 / 356.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.13, allocations: 31.92 kB / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.13, allocations: 0 / 356.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.13, allocations: 7.938 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.13, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.13, allocations: 4 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.1302, allocations: 172.8 kB / 356.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.1303, allocations: 100.9 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1303, allocations: 3.938 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.1304, allocations: 8 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-06/0.1304, allocations: 0 / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1304, allocations: 3.984 kB / 356.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.564e-05/0.1305, allocations: 123.2 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 0 / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1307, allocations: 16 kB / 356.8 MB, free: 13.99 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.0001497/0.1309, allocations: 115.3 kB / 356.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1311, allocations: 100.6 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1311, allocations: 8.062 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1311, allocations: 0 / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1315, allocations: 98.42 kB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.132, allocations: 246.3 kB / 357.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1323, allocations: 0.7239 MB / 358 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.1323, allocations: 9.094 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1324, allocations: 15.44 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1324, allocations: 0 / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.00388/0.1363, allocations: 1.157 MB / 359.2 MB, free: 11.48 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 -s gbode -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/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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches