Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.0009145/0.0009146, allocations: 97.17 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 180.9 kB / 16.96 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05984/0.05984, allocations: 12.6 MB / 284 MB, free: 8.598 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006223, allocations: 20 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07104/0.07167, allocations: 50.39 MB / 395.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0009958/0.07269, allocations: 0.618 MB / 396.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.07299, allocations: 139.6 kB / 396.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.07307, allocations: 4 kB / 396.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.537e-05/0.07315, allocations: 11.86 kB / 396.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.16e-05/0.07325, allocations: 3.938 kB / 396.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.07344, allocations: 47.95 kB / 396.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.07354, allocations: 67.78 kB / 396.4 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.07366, allocations: 43.97 kB / 396.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.0737, allocations: 19.86 kB / 396.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.07377, allocations: 31.84 kB / 396.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.07379, allocations: 0 / 396.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.07381, allocations: 4 kB / 396.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.07386, allocations: 19.92 kB / 396.6 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.07391, allocations: 69.31 kB / 396.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.703e-05/0.07401, allocations: 83.62 kB / 396.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.07402, allocations: 0 / 396.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.07403, allocations: 0 / 396.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.07404, allocations: 0 / 396.7 MB, free: 1.254 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.0003681/0.07441, allocations: 399.3 kB / 397.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.07445, allocations: 8.031 kB / 397.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.07448, allocations: 16.75 kB / 397.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.07465, allocations: 204.1 kB / 397.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.07467, allocations: 12.31 kB / 397.3 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.07469, allocations: 4.375 kB / 397.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.07504, allocations: 247.4 kB / 397.6 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.07506, allocations: 192 / 397.6 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.07508, allocations: 7.938 kB / 397.6 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.07509, allocations: 0 / 397.6 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.07516, allocations: 51.84 kB / 397.6 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.07531, allocations: 201.4 kB / 397.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.07552, allocations: 154.9 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.07562, allocations: 76.83 kB / 398.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.07564, allocations: 7.984 kB / 398.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.07567, allocations: 34.56 kB / 398.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.07567, allocations: 0 / 398.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002453/0.07593, allocations: 177.7 kB / 398.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.07598, allocations: 59.41 kB / 398.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.07609, allocations: 165.9 kB / 398.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.07612, allocations: 29.7 kB / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.07617, allocations: 96.39 kB / 398.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.07619, allocations: 15.89 kB / 398.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.07622, allocations: 25.72 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.07631, allocations: 318.8 kB / 399 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.07635, allocations: 27.98 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.07643, allocations: 120.8 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.07656, allocations: 161.5 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.07657, allocations: 4 kB / 399.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001821/0.07675, allocations: 149.2 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.07677, allocations: 8.5 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.07678, allocations: 7.938 kB / 399.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.0768, allocations: 8 kB / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.0769, allocations: 35.92 kB / 399.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.07692, allocations: 7.984 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.07698, allocations: 19.78 kB / 399.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.07699, allocations: 12 kB / 399.5 MB, free: 14.11 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 9.268e-05/0.07709, allocations: 137.8 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.07724, allocations: 137.4 kB / 399.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.07729, allocations: 25.12 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.0773, allocations: 7.984 kB / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.07731, allocations: 0 / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.07732, allocations: 0 / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.546e-05/0.07742, allocations: 189.5 kB / 400 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.07742, allocations: 3.984 kB / 400 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.07753, allocations: 27.98 kB / 400 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.07753, allocations: 0 / 400 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.07755, allocations: 11.94 kB / 400.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.07755, allocations: 0 / 400.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.07756, allocations: 7.938 kB / 400.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.07774, allocations: 169.5 kB / 400.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.0778, allocations: 100.9 kB / 400.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.07783, allocations: 11.92 kB / 400.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.07786, allocations: 4 kB / 400.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-06/0.07787, allocations: 0 / 400.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.07788, allocations: 4 kB / 400.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.07796, allocations: 119.2 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.07796, allocations: 4 kB / 400.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.07818, allocations: 16 kB / 400.5 MB, free: 13.05 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 7.516e-05/0.07826, allocations: 99.84 kB / 400.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.07841, allocations: 108.8 kB / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.07842, allocations: 4.062 kB / 400.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.07843, allocations: 0 / 400.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.07874, allocations: 89.34 kB / 400.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.07907, allocations: 291.9 kB / 401.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.07929, allocations: 0.7204 MB / 401.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.07933, allocations: 9.078 kB / 401.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.07935, allocations: 15.44 kB / 401.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.07936, allocations: 0 / 401.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002666/0.08203, allocations: 1.058 MB / 402.9 MB, free: 10.6 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches