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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001566, allocations: 105.6 kB / 16.03 MB, free: 6.312 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.001658/0.001658, allocations: 191.1 kB / 16.95 MB, free: 6.137 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.743/1.743, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08761/0.08761, allocations: 12.59 MB / 282.7 MB, free: 15.63 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.003769/0.003769, allocations: 87.88 kB / 343 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3791, allocations: 49.37 MB / 392.4 MB, free: 49.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.003628/0.3828, allocations: 1.095 MB / 393.5 MB, free: 48.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005535/0.3834, allocations: 135.2 kB / 393.6 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3836, allocations: 4.906 kB / 393.6 MB, free: 48.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.3838, allocations: 6.969 kB / 393.6 MB, free: 48.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.3839, allocations: 7.5 kB / 393.6 MB, free: 48.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3843, allocations: 45.78 kB / 393.7 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.3845, allocations: 66.75 kB / 393.7 MB, free: 48.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.3848, allocations: 44.64 kB / 393.8 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.3848, allocations: 23.8 kB / 393.8 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.62e-05/0.385, allocations: 37.64 kB / 393.8 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.385, allocations: 9.031 kB / 393.8 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.385, allocations: 5.625 kB / 393.8 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3852, allocations: 29.38 kB / 393.9 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.3852, allocations: 38.27 kB / 393.9 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3855, allocations: 83.45 kB / 394 MB, free: 48.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3855, allocations: 0.8125 kB / 394 MB, free: 48.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3855, allocations: 3.938 kB / 394 MB, free: 48.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3856, allocations: 1 kB / 394 MB, free: 48.11 MB / 318.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.0006859/0.3863, allocations: 410.5 kB / 394.4 MB, free: 47.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.167e-05/0.3863, allocations: 9.844 kB / 394.4 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.3864, allocations: 11.75 kB / 394.4 MB, free: 47.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3867, allocations: 206.3 kB / 394.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3867, allocations: 7.812 kB / 394.6 MB, free: 47.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3868, allocations: 8.781 kB / 394.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.3874, allocations: 221.1 kB / 394.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3874, allocations: 0 / 394.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3874, allocations: 1.812 kB / 394.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3874, allocations: 2.844 kB / 394.8 MB, free: 47.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3876, allocations: 37.91 kB / 394.9 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3878, allocations: 191.3 kB / 395.1 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.3882, allocations: 129.7 kB / 395.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.3883, allocations: 77.3 kB / 395.3 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3884, allocations: 1.406 kB / 395.3 MB, free: 47.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3884, allocations: 44.36 kB / 395.3 MB, free: 46.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.3884, allocations: 0 / 395.3 MB, free: 46.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003495/0.3887, allocations: 145 kB / 395.5 MB, free: 46.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.3888, allocations: 66.91 kB / 395.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.389, allocations: 147.9 kB / 395.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.389, allocations: 25.7 kB / 395.7 MB, free: 46.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.3891, allocations: 92.36 kB / 395.8 MB, free: 46.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.3891, allocations: 13.19 kB / 395.8 MB, free: 46.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3892, allocations: 30.86 kB / 395.8 MB, free: 46.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.3892, allocations: 322.8 kB / 396.1 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.505e-05/0.3893, allocations: 32.67 kB / 396.2 MB, free: 46.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.3894, allocations: 117.7 kB / 396.3 MB, free: 46.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3895, allocations: 147 kB / 396.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3895, allocations: 4 kB / 396.4 MB, free: 45.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002039/0.3898, allocations: 159.3 kB / 396.6 MB, free: 45.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3898, allocations: 6.062 kB / 396.6 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3898, allocations: 9 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3898, allocations: 4.344 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.39, allocations: 33.81 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.39, allocations: 5.766 kB / 396.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.3901, allocations: 13.22 kB / 396.7 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.3901, allocations: 7.906 kB / 396.7 MB, free: 45.83 MB / 318.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: 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 0.0001087/0.3902, allocations: 142.5 kB / 396.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.3904, allocations: 119.2 kB / 396.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.3904, allocations: 17.66 kB / 396.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3904, allocations: 6.375 kB / 396.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3904, allocations: 0 / 396.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3905, allocations: 1.266 kB / 397 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3906, allocations: 192.9 kB / 397.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3906, allocations: 3.938 kB / 397.1 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3907, allocations: 26.77 kB / 397.2 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3907, allocations: 1.094 kB / 397.2 MB, free: 45.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3908, allocations: 5.766 kB / 397.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3908, allocations: 1.281 kB / 397.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3908, allocations: 0 / 397.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.391, allocations: 159 kB / 397.3 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.391, allocations: 105.4 kB / 397.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3911, allocations: 2.328 kB / 397.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.375e-05/0.3911, allocations: 4 kB / 397.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.3911, allocations: 2.578 kB / 397.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3911, allocations: 1.406 kB / 397.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.3912, allocations: 118.7 kB / 397.6 MB, free: 45.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3912, allocations: 1.562 kB / 397.6 MB, free: 45.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3914, allocations: 19.69 kB / 397.6 MB, free: 45.07 MB / 318.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: 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 0.0001334/0.3916, allocations: 94.3 kB / 397.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3918, allocations: 102.3 kB / 397.8 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3918, allocations: 1 kB / 397.8 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.3919, allocations: 0 / 397.8 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.3924, allocations: 94.03 kB / 397.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.393, allocations: 271.7 kB / 398.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3933, allocations: 0.7197 MB / 398.9 MB, free: 44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.3933, allocations: 7.828 kB / 398.9 MB, free: 44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.3934, allocations: 13.47 kB / 398.9 MB, free: 43.99 MB / 318.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3934, allocations: 0 / 398.9 MB, free: 43.99 MB / 318.1 MB Notification: Performance of Templates: time 0.003852/0.3972, allocations: 1.006 MB / 399.9 MB, free: 43.54 MB / 318.1 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/jenkins/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