Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001353/0.001353, allocations: 174.9 kB / 16.45 MB, free: 5.684 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.551/1.551, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0008443/0.0008442, allocations: 85.33 kB / 270.9 MB, free: 8.355 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.06885/0.06885, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 12 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06388/0.06427, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.0008468/0.06516, allocations: 0.5975 MB / 443 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.06543, allocations: 151.6 kB / 443.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.0655, allocations: 8 kB / 443.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.057e-05/0.06558, allocations: 11.86 kB / 443.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.445e-05/0.06568, allocations: 7.938 kB / 443.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.06585, allocations: 35.95 kB / 443.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.06594, allocations: 63.78 kB / 443.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.06604, allocations: 48.08 kB / 443.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.06608, allocations: 11.92 kB / 443.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.06614, allocations: 35.78 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.06616, allocations: 4 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.06617, allocations: 0 / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.06621, allocations: 23.92 kB / 443.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.06624, allocations: 37.64 kB / 443.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.193e-05/0.06631, allocations: 67.88 kB / 443.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.06632, allocations: 0 / 443.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.06633, allocations: 0 / 443.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.06633, allocations: 4 kB / 443.5 MB, free: 15.34 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.0003207/0.06666, allocations: 395.1 kB / 443.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.06669, allocations: 8.031 kB / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.06673, allocations: 15.81 kB / 443.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.06687, allocations: 202.8 kB / 444.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.06689, allocations: 11.95 kB / 444.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.06691, allocations: 4 kB / 444.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.06723, allocations: 242.8 kB / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.06725, allocations: 7.891 kB / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.06726, allocations: 0 / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.06727, allocations: 0 / 444.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.06734, allocations: 47.97 kB / 444.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.941e-05/0.06745, allocations: 193.5 kB / 444.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.06764, allocations: 150.9 kB / 444.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.06774, allocations: 84.81 kB / 444.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.06776, allocations: 4 kB / 444.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.025e-05/0.06777, allocations: 30.56 kB / 444.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.06778, allocations: 4 kB / 444.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002263/0.06801, allocations: 177.6 kB / 445 MB, free: 13.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.06805, allocations: 59.41 kB / 445.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.06815, allocations: 169.9 kB / 445.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.06816, allocations: 33.7 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.06819, allocations: 88.47 kB / 445.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.06821, allocations: 7.984 kB / 445.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.06822, allocations: 7.938 kB / 445.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.06826, allocations: 330.8 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.0683, allocations: 23.89 kB / 445.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.06836, allocations: 117.7 kB / 445.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.06842, allocations: 47.86 kB / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.06842, allocations: 4 kB / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001836/0.06861, allocations: 161.6 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.06863, allocations: 4 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.06864, allocations: 4 kB / 446 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.06866, allocations: 8 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/0.06876, allocations: 31.94 kB / 446.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.06878, allocations: 11.92 kB / 446.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.06883, allocations: 11.91 kB / 446.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.06885, allocations: 8 kB / 446.1 MB, free: 12.41 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,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 7.644e-05/0.06893, allocations: 154.6 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.06906, allocations: 125.5 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.0691, allocations: 21.17 kB / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.06911, allocations: 0 / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.06912, allocations: 7.953 kB / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.06913, allocations: 0 / 446.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.207e-05/0.06919, allocations: 185.5 kB / 446.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0692, allocations: 0 / 446.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.06931, allocations: 39.91 kB / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.06932, allocations: 7.984 kB / 446.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.06933, allocations: 8 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.06934, allocations: 0 / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.06935, allocations: 0 / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.0695, allocations: 164.8 kB / 446.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.06955, allocations: 104.9 kB / 446.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.06957, allocations: 4 kB / 446.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.06961, allocations: 3.984 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-06/0.06962, allocations: 4 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.06963, allocations: 4 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.06969, allocations: 119.2 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.06969, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.0699, allocations: 16 kB / 447.1 MB, free: 11.36 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 (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 6.666e-05/0.06997, allocations: 115 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.07011, allocations: 104 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.07012, allocations: 4 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.07013, allocations: 0 / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.07043, allocations: 90.19 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.07074, allocations: 302.9 kB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.07085, allocations: 0.7242 MB / 448.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.07088, allocations: 11.44 kB / 448.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.07089, allocations: 0 / 448.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of Templates: time 0.002015/0.07291, allocations: 1.341 MB / 449.7 MB, free: 8.617 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches