Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 173.9 kB / 16.8 MB, free: 5.008 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.462/1.462, allocations: 205.4 MB / 223 MB, free: 9.008 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.0007569/0.000757, allocations: 89.42 kB / 271.3 MB, free: 8.234 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.06659/0.06659, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 19.98 kB / 393.3 MB, free: 65.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08022/0.08062, allocations: 50.38 MB / 443.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001167/0.08184, allocations: 0.7484 MB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.08212, allocations: 131.6 kB / 444.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.08221, allocations: 0 / 444.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.493e-05/0.0823, allocations: 7.922 kB / 444.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.0824, allocations: 7.938 kB / 444.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.08261, allocations: 43.89 kB / 444.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.873e-05/0.08271, allocations: 63.78 kB / 444.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.08283, allocations: 43.94 kB / 444.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.08286, allocations: 19.88 kB / 444.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.08291, allocations: 23.86 kB / 444.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.08293, allocations: 0 / 444.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.08295, allocations: 8 kB / 444.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.08302, allocations: 23.86 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.08307, allocations: 57.44 kB / 444.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.707e-05/0.08315, allocations: 56.17 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.08316, allocations: 0 / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08317, allocations: 4 kB / 444.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.08318, allocations: 0 / 444.9 MB, free: 14.17 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.0003464/0.08353, allocations: 395 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.08357, allocations: 8.031 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.08361, allocations: 16.84 kB / 445.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.08375, allocations: 208.5 kB / 445.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.08377, allocations: 8.375 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.08379, allocations: 4.375 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.0841, allocations: 234.9 kB / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.08412, allocations: 0 / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.08413, allocations: 0 / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.08414, allocations: 4 kB / 445.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.08421, allocations: 39.92 kB / 445.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.08432, allocations: 185.6 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.08449, allocations: 130.7 kB / 446.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.08458, allocations: 70.52 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.0846, allocations: 4 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.08462, allocations: 38.5 kB / 446.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.08463, allocations: 0 / 446.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002124/0.08485, allocations: 154 kB / 446.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.0849, allocations: 67.34 kB / 446.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.085, allocations: 150.4 kB / 446.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.08501, allocations: 25.7 kB / 446.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.08504, allocations: 92.47 kB / 446.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.08506, allocations: 7.984 kB / 446.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.08508, allocations: 4 kB / 446.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.08512, allocations: 322.8 kB / 447.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.08516, allocations: 16 kB / 447.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.08522, allocations: 127.5 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.08532, allocations: 153.5 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.08533, allocations: 4 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000158/0.08549, allocations: 157.2 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.08551, allocations: 8 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.08552, allocations: 4 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.08554, allocations: 8 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.08563, allocations: 32.42 kB / 447.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.08565, allocations: 4 kB / 447.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.08571, allocations: 23.84 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.08572, allocations: 8 kB / 447.6 MB, free: 11.19 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: 0 () * 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 6.83e-05/0.08579, allocations: 134.6 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.08591, allocations: 121.5 kB / 447.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.08595, allocations: 21.17 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.08596, allocations: 0 / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.08597, allocations: 0 / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.08598, allocations: 3.938 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.716e-05/0.08605, allocations: 201.4 kB / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.08606, allocations: 0 / 448.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.08615, allocations: 23.98 kB / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.08615, allocations: 0 / 448.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.08617, allocations: 8 kB / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.08617, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.08618, allocations: 0 / 448.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.08631, allocations: 152.9 kB / 448.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.08636, allocations: 104.8 kB / 448.3 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.08639, allocations: 8 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.451e-05/0.08642, allocations: 4 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.08643, allocations: 0 / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.08644, allocations: 4 kB / 448.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.08649, allocations: 112 kB / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08649, allocations: 0 / 448.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000202/0.0867, allocations: 20 kB / 448.5 MB, free: 10.19 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: 0 () * 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.663e-05/0.08678, allocations: 91.25 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.08692, allocations: 95.72 kB / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.08693, allocations: 0 / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.08693, allocations: 0 / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.08729, allocations: 84.44 kB / 448.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.08761, allocations: 303.3 kB / 449 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.08773, allocations: 0.7165 MB / 449.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.08776, allocations: 11.44 kB / 449.8 MB, free: 8.824 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.08777, allocations: 0 / 449.8 MB, free: 8.824 MB / 298.7 MB Notification: Performance of Templates: time 0.002046/0.08982, allocations: 1.19 MB / 451 MB, free: 7.637 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches