Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001541/0.001541, allocations: 185.7 kB / 16.44 MB, free: 5.691 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.933/1.933, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001074/0.001073, allocations: 97.19 kB / 270.9 MB, free: 8.375 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.09988/0.09988, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005219/0.0005221, allocations: 12 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09094, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.52, allocations: 77.87 MB / 0.508 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5203, allocations: 77.27 kB / 0.5081 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00562/0.5259, allocations: 1.605 MB / 0.5097 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.526, allocations: 0 / 0.5097 GB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.526, allocations: 3.812 kB / 0.5097 GB, free: 12.39 MB / 330.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.0003947/0.5264, allocations: 394.9 kB / 0.5101 GB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5264, allocations: 11.53 kB / 0.5101 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.5265, allocations: 7.781 kB / 0.5101 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.5267, allocations: 210.1 kB / 0.5103 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5267, allocations: 6.75 kB / 0.5103 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.5268, allocations: 7.562 kB / 0.5103 GB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.5272, allocations: 214.6 kB / 0.5105 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5273, allocations: 0 / 0.5105 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.5273, allocations: 7.75 kB / 0.5105 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5273, allocations: 0 / 0.5105 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.5274, allocations: 38.08 kB / 0.5105 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.5276, allocations: 179.4 kB / 0.5107 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.5278, allocations: 139.8 kB / 0.5108 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.5279, allocations: 3.875 kB / 0.5108 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.5279, allocations: 34.5 kB / 0.5109 GB, free: 11.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.5279, allocations: 0 / 0.5109 GB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003419/0.5283, allocations: 149.6 kB / 0.511 GB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.5283, allocations: 67.34 kB / 0.5111 GB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.5284, allocations: 131.4 kB / 0.5112 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5285, allocations: 33.17 kB / 0.5112 GB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.5285, allocations: 154.2 kB / 0.5114 GB, free: 10.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.5285, allocations: 11.59 kB / 0.5114 GB, free: 10.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.5286, allocations: 0 / 0.5114 GB, free: 10.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.5286, allocations: 318.2 kB / 0.5117 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.5287, allocations: 22.14 kB / 0.5117 GB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.5288, allocations: 115.9 kB / 0.5118 GB, free: 10.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/0.5289, allocations: 43.08 kB / 0.5119 GB, free: 10.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5289, allocations: 3.844 kB / 0.5119 GB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002515/0.5292, allocations: 145.8 kB / 0.512 GB, free: 10.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5292, allocations: 7.812 kB / 0.512 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5292, allocations: 4.312 kB / 0.512 GB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.5292, allocations: 11.95 kB / 0.512 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.5294, allocations: 34.27 kB / 0.5121 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5294, allocations: 11.64 kB / 0.5121 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.5295, allocations: 15.44 kB / 0.5121 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.5296, allocations: 7.75 kB / 0.5121 GB, free: 10.38 MB / 330.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 0.0001043/0.5297, allocations: 143.9 kB / 0.5122 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.5299, allocations: 116.3 kB / 0.5124 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.5299, allocations: 23.14 kB / 0.5124 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.53, allocations: 0 / 0.5124 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.53, allocations: 7.844 kB / 0.5124 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.53, allocations: 3.953 kB / 0.5124 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5301, allocations: 182.8 kB / 0.5126 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5301, allocations: 0 / 0.5126 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.5303, allocations: 30.89 kB / 0.5126 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5303, allocations: 0 / 0.5126 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5303, allocations: 0 / 0.5126 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5303, allocations: 3.844 kB / 0.5126 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5304, allocations: 0 / 0.5126 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.5306, allocations: 157.1 kB / 0.5127 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.5307, allocations: 104.2 kB / 0.5128 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.5307, allocations: 3.812 kB / 0.5128 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.5308, allocations: 0 / 0.5128 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.5308, allocations: 0 / 0.5128 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5308, allocations: 7.156 kB / 0.5129 GB, free: 9.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.059e-05/0.5309, allocations: 110.4 kB / 0.513 GB, free: 9.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5309, allocations: 0 / 0.513 GB, free: 9.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.5312, allocations: 14.81 kB / 0.513 GB, free: 9.691 MB / 330.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 0.000106/0.5313, allocations: 109.8 kB / 0.5131 GB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.5316, allocations: 83.12 kB / 0.5132 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5316, allocations: 0 / 0.5132 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.5316, allocations: 3.844 kB / 0.5132 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.532, allocations: 82.45 kB / 0.5132 GB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.5325, allocations: 289.8 kB / 0.5135 GB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.5327, allocations: 0.7187 MB / 0.5142 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.5327, allocations: 19.12 kB / 0.5142 GB, free: 8.598 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5327, allocations: 0 / 0.5142 GB, free: 8.598 MB / 330.7 MB Notification: Performance of Templates: time 0.003214/0.5359, allocations: 1.19 MB / 0.5154 GB, free: 8.004 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches