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.0009202/0.0009202, allocations: 174.7 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.363/1.363, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0007437/0.0007437, allocations: 98.3 kB / 270.9 MB, free: 8.344 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.07207/0.07207, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.0006478, allocations: 12 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07899, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001131/0.08017, allocations: 0.7209 MB / 443.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.08051, allocations: 139.6 kB / 443.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.08061, allocations: 7.938 kB / 443.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.084e-05/0.08072, allocations: 7.922 kB / 443.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.08083, allocations: 7.938 kB / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.08104, allocations: 39.89 kB / 444 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.483e-05/0.08114, allocations: 55.84 kB / 444 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.08126, allocations: 36.16 kB / 444.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.0813, allocations: 11.88 kB / 444.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.08135, allocations: 23.86 kB / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.08138, allocations: 0 / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.0814, allocations: 4 kB / 444.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.08145, allocations: 23.91 kB / 444.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.08149, allocations: 37.64 kB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.695e-05/0.08157, allocations: 51.91 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.08159, allocations: 4 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08159, allocations: 0 / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.0816, allocations: 0 / 444.2 MB, free: 14.61 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.0003513/0.08196, allocations: 395.1 kB / 444.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.082, allocations: 12.03 kB / 444.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.08204, allocations: 7.906 kB / 444.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.08221, allocations: 203.3 kB / 444.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.08223, allocations: 7.953 kB / 444.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.08226, allocations: 15.94 kB / 444.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.08262, allocations: 218.8 kB / 445 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.08264, allocations: 7.953 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.08266, allocations: 7.938 kB / 445.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.08267, allocations: 0 / 445.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.08275, allocations: 35.98 kB / 445.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.08288, allocations: 189.6 kB / 445.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.08308, allocations: 122.6 kB / 445.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.0832, allocations: 74.61 kB / 445.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.08322, allocations: 8 kB / 445.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.08324, allocations: 34.55 kB / 445.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.08325, allocations: 0 / 445.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002518/0.0835, allocations: 158 kB / 445.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.08355, allocations: 59.55 kB / 445.7 MB, free: 12.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.08366, allocations: 143 kB / 445.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.08368, allocations: 29.7 kB / 445.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.08371, allocations: 88.47 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.08374, allocations: 15.98 kB / 446 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.08375, allocations: 4 kB / 446 MB, free: 12.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.08381, allocations: 326.8 kB / 446.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.08384, allocations: 19.92 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.08392, allocations: 125.6 kB / 446.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.08399, allocations: 39.92 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.084, allocations: 0 / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001935/0.08419, allocations: 157.3 kB / 446.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.08422, allocations: 10.97 kB / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.08423, allocations: 4 kB / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.08426, allocations: 7.984 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.08442, allocations: 35.94 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.08444, allocations: 7.938 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.08451, allocations: 15.84 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.08453, allocations: 8.406 kB / 446.7 MB, free: 11.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.471e-05/0.08461, allocations: 138.6 kB / 446.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.08473, allocations: 113.5 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.08478, allocations: 21.17 kB / 447 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.08478, allocations: 0 / 447 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.08479, allocations: 3.953 kB / 447 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0848, allocations: 4 kB / 447 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.08488, allocations: 185.5 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08489, allocations: 3.938 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.08497, allocations: 27.92 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.08498, allocations: 8 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.085, allocations: 4 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.085, allocations: 0 / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.08501, allocations: 0 / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.08515, allocations: 148.9 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.0852, allocations: 104.8 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.08523, allocations: 4 kB / 447.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.08526, allocations: 4 kB / 447.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-06/0.08527, allocations: 4 kB / 447.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.08528, allocations: 4 kB / 447.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.08533, allocations: 112.6 kB / 447.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08534, allocations: 4 kB / 447.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.08558, allocations: 16 kB / 447.6 MB, free: 10.8 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 (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 7.596e-05/0.08567, allocations: 99.14 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.0858, allocations: 88.22 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.08581, allocations: 3.938 kB / 447.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.08582, allocations: 0 / 447.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.08617, allocations: 80.5 kB / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.08653, allocations: 290.1 kB / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.08668, allocations: 0.7164 MB / 448.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.08672, allocations: 15.44 kB / 448.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.08672, allocations: 0 / 448.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of Templates: time 0.002088/0.08882, allocations: 1.196 MB / 450.1 MB, free: 8.25 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