Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009811, allocations: 171.8 kB / 16.8 MB, free: 5 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.502/1.502, allocations: 205.4 MB / 223 MB, free: 9.027 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.0008514/0.0008513, allocations: 85.94 kB / 271.3 MB, free: 8.258 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.07361/0.07361, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004249, allocations: 20 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1002, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4225, allocations: 77.7 MB / 0.5091 GB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4228, allocations: 73.55 kB / 0.5092 GB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002985/0.4258, allocations: 1.282 MB / 0.5104 GB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4258, allocations: 4 kB / 0.5104 GB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4258, allocations: 4 kB / 0.5104 GB, free: 12.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003203/0.4261, allocations: 374.3 kB / 0.5108 GB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4262, allocations: 7.688 kB / 0.5108 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4262, allocations: 15 kB / 0.5108 GB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.4264, allocations: 199.7 kB / 0.511 GB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4264, allocations: 4.156 kB / 0.511 GB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4264, allocations: 8.25 kB / 0.511 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.4267, allocations: 124.7 kB / 0.5111 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4267, allocations: 192 / 0.5111 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4267, allocations: 11.55 kB / 0.5111 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4267, allocations: 4 kB / 0.5111 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.4268, allocations: 46.59 kB / 0.5112 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.4272, allocations: 368.7 kB / 0.5115 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.02e-05/0.4273, allocations: 81.64 kB / 0.5116 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.4273, allocations: 47.02 kB / 0.5117 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.4274, allocations: 3.844 kB / 0.5117 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.4274, allocations: 34.5 kB / 0.5117 GB, free: 11.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4274, allocations: 3.938 kB / 0.5117 GB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002876/0.4277, allocations: 116.5 kB / 0.5118 GB, free: 11.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4278, allocations: 110.4 kB / 0.5119 GB, free: 11.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.4279, allocations: 154.9 kB / 0.5121 GB, free: 11.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.4279, allocations: 25.7 kB / 0.5121 GB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.4279, allocations: 87.2 kB / 0.5122 GB, free: 11.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.4279, allocations: 7.859 kB / 0.5122 GB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.4279, allocations: 0 / 0.5122 GB, free: 11.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.428, allocations: 314.7 kB / 0.5125 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.4281, allocations: 19.52 kB / 0.5125 GB, free: 10.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.4281, allocations: 47.05 kB / 0.5125 GB, free: 10.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4283, allocations: 73.75 kB / 0.5126 GB, free: 10.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4283, allocations: 3.938 kB / 0.5126 GB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.4284, allocations: 94.06 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4284, allocations: 3.906 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4285, allocations: 3.812 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4285, allocations: 0 / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.4286, allocations: 15.61 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4286, allocations: 0 / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.4286, allocations: 3.938 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4286, allocations: 3.875 kB / 0.5127 GB, free: 10.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.195e-05/0.4287, allocations: 142 kB / 0.5129 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.4288, allocations: 48.84 kB / 0.5129 GB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.4289, allocations: 15.12 kB / 0.5129 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4289, allocations: 7.75 kB / 0.5129 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4289, allocations: 0 / 0.5129 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4289, allocations: 0 / 0.5129 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.4291, allocations: 176.9 kB / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4291, allocations: 3.812 kB / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4291, allocations: 19.64 kB / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4292, allocations: 3.875 kB / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4292, allocations: 3.562 kB / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4292, allocations: 0 / 0.5131 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4292, allocations: 3.938 kB / 0.5131 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.4294, allocations: 272.6 kB / 0.5134 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.4295, allocations: 88.88 kB / 0.5135 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4295, allocations: 7.594 kB / 0.5135 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.4296, allocations: 3.906 kB / 0.5135 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.4296, allocations: 7.984 kB / 0.5135 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4297, allocations: 3.812 kB / 0.5135 GB, free: 10.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.4297, allocations: 105.8 kB / 0.5136 GB, free: 9.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4297, allocations: 0 / 0.5136 GB, free: 9.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.43, allocations: 11.5 kB / 0.5136 GB, free: 9.945 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001025/0.4301, allocations: 102.6 kB / 0.5137 GB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.4303, allocations: 49.62 kB / 0.5138 GB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4303, allocations: 0 / 0.5138 GB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.4303, allocations: 23.36 kB / 0.5138 GB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.4308, allocations: 27.3 kB / 0.5138 GB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.4311, allocations: 204.4 kB / 0.514 GB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4314, allocations: 0.6921 MB / 0.5147 GB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.4314, allocations: 15.73 kB / 0.5147 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.4315, allocations: 11.34 kB / 0.5147 GB, free: 8.918 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4315, allocations: 0 / 0.5147 GB, free: 8.918 MB / 330.7 MB Notification: Performance of Templates: time 0.002612/0.4341, allocations: 0.5549 MB / 0.5152 GB, free: 8.645 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches