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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008399/0.00084, allocations: 169.4 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007024/0.0007024, allocations: 95.84 kB / 270.5 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06666/0.06666, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 12 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07787/0.07825, allocations: 49.98 MB / 441.7 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001173/0.07948, allocations: 0.6291 MB / 442.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.07982, allocations: 139.6 kB / 442.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.07992, allocations: 3.938 kB / 442.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.08004, allocations: 11.94 kB / 442.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.08016, allocations: 7.922 kB / 442.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.08037, allocations: 47.89 kB / 442.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.08048, allocations: 59.84 kB / 442.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.08061, allocations: 47.97 kB / 442.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.08065, allocations: 19.81 kB / 442.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.08073, allocations: 31.84 kB / 442.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.08075, allocations: 0 / 442.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.08077, allocations: 4 kB / 442.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.08083, allocations: 19.92 kB / 442.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.08088, allocations: 47.59 kB / 442.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.08097, allocations: 55.91 kB / 442.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.08098, allocations: 0 / 442.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.08099, allocations: 0 / 442.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.081, allocations: 7.938 kB / 442.8 MB, free: 15.25 MB / 298.7 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.0004139/0.08142, allocations: 395.3 kB / 443.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.08145, allocations: 8.031 kB / 443.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.0815, allocations: 16.75 kB / 443.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.08166, allocations: 212 kB / 443.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.08168, allocations: 8.375 kB / 443.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.0817, allocations: 4.375 kB / 443.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.08204, allocations: 247.4 kB / 443.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.08206, allocations: 4.125 kB / 443.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.08207, allocations: 11.92 kB / 443.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.08208, allocations: 0 / 443.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.08216, allocations: 47.97 kB / 443.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.08228, allocations: 193.5 kB / 443.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.08248, allocations: 147 kB / 444.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.08259, allocations: 84.81 kB / 444.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.08261, allocations: 0 / 444.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.08264, allocations: 34.56 kB / 444.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.08264, allocations: 0 / 444.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002799/0.08293, allocations: 185.6 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.08298, allocations: 63.39 kB / 444.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.08309, allocations: 165.9 kB / 444.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.0831, allocations: 33.7 kB / 444.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.08314, allocations: 84.47 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.08316, allocations: 19.83 kB / 444.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.08319, allocations: 29.7 kB / 444.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.08325, allocations: 322.8 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.08329, allocations: 23.98 kB / 445.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.08335, allocations: 115.6 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.08346, allocations: 169.5 kB / 445.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.08347, allocations: 0 / 445.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001659/0.08364, allocations: 149.2 kB / 445.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.08367, allocations: 8.5 kB / 445.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.08368, allocations: 15.92 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.0837, allocations: 4 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.08381, allocations: 35.92 kB / 445.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.08383, allocations: 11.88 kB / 445.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.08388, allocations: 15.84 kB / 445.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.0839, allocations: 12 kB / 445.6 MB, free: 12.11 MB / 298.7 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.02e-05/0.08399, allocations: 134.7 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.08413, allocations: 141.4 kB / 445.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.08418, allocations: 29.11 kB / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.08419, allocations: 0 / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0842, allocations: 0 / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.08421, allocations: 0 / 445.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.84e-05/0.08429, allocations: 189.5 kB / 446.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0843, allocations: 0 / 446.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.0844, allocations: 27.98 kB / 446.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.08441, allocations: 4 kB / 446.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.08443, allocations: 7.938 kB / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.08444, allocations: 0 / 446.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.08444, allocations: 7.938 kB / 446.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.08461, allocations: 168.8 kB / 446.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.08467, allocations: 108.9 kB / 446.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.0847, allocations: 3.938 kB / 446.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.08473, allocations: 4 kB / 446.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-06/0.08474, allocations: 0 / 446.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.08475, allocations: 4 kB / 446.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.08481, allocations: 127.2 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08482, allocations: 0 / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.08502, allocations: 16 kB / 446.6 MB, free: 11.05 MB / 298.7 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 9.577e-05/0.08513, allocations: 103.1 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.08528, allocations: 100.8 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.08529, allocations: 4.062 kB / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.0853, allocations: 0 / 446.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.08565, allocations: 92.77 kB / 446.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.08601, allocations: 314.1 kB / 447.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.08617, allocations: 0.7165 MB / 447.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.0862, allocations: 15.44 kB / 447.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08621, allocations: 0 / 447.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of Templates: time 0.002377/0.08859, allocations: 1.34 MB / 449.3 MB, free: 8.309 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/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