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.001156/0.001156, allocations: 179.2 kB / 15.8 MB, free: 6.34 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.637/1.637, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009593/0.0009587, allocations: 94.86 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08424/0.08425, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004173, allocations: 18.86 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 50.37 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.2457, allocations: 77.68 MB / 0.5079 GB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.246, allocations: 75.95 kB / 0.5079 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003314/0.2493, allocations: 1.284 MB / 0.5092 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2493, allocations: 0 / 0.5092 GB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2493, allocations: 8 kB / 0.5092 GB, free: 11.79 MB / 362.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.0004498/0.2498, allocations: 375.2 kB / 0.5096 GB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2498, allocations: 8.031 kB / 0.5096 GB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.2499, allocations: 11.89 kB / 0.5096 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.2501, allocations: 198.8 kB / 0.5098 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2501, allocations: 4 kB / 0.5098 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2501, allocations: 7.984 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.2504, allocations: 129.9 kB / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2505, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.2505, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2505, allocations: 0 / 0.5099 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.2506, allocations: 51.91 kB / 0.5099 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.2511, allocations: 377.8 kB / 0.5103 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2512, allocations: 71.78 kB / 0.5104 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2512, allocations: 8 kB / 0.5104 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2513, allocations: 38.56 kB / 0.5104 GB, free: 10.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2513, allocations: 0 / 0.5104 GB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003534/0.2516, allocations: 117.8 kB / 0.5105 GB, free: 10.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.2517, allocations: 110.8 kB / 0.5106 GB, free: 10.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2518, allocations: 136.7 kB / 0.5108 GB, free: 9.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2518, allocations: 29.64 kB / 0.5108 GB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.2519, allocations: 92.12 kB / 0.5109 GB, free: 9.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2519, allocations: 3.906 kB / 0.5109 GB, free: 9.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.2519, allocations: 4 kB / 0.5109 GB, free: 9.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2521, allocations: 326.8 kB / 0.5112 GB, free: 9.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.2521, allocations: 23.98 kB / 0.5112 GB, free: 9.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.2522, allocations: 39.42 kB / 0.5113 GB, free: 9.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.628e-05/0.2523, allocations: 23.98 kB / 0.5113 GB, free: 9.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2523, allocations: 0 / 0.5113 GB, free: 9.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001779/0.2525, allocations: 97.53 kB / 0.5114 GB, free: 9.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2525, allocations: 4 kB / 0.5114 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2525, allocations: 4 kB / 0.5114 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2525, allocations: 0 / 0.5114 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.2526, allocations: 11.98 kB / 0.5114 GB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2526, allocations: 4 kB / 0.5114 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.2527, allocations: 4 kB / 0.5114 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.2527, allocations: 8.125 kB / 0.5114 GB, free: 9.238 MB / 362.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.767e-05/0.2528, allocations: 129.8 kB / 0.5115 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.2529, allocations: 49.53 kB / 0.5116 GB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.2529, allocations: 11.88 kB / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2529, allocations: 0 / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2529, allocations: 0 / 0.5116 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.253, allocations: 4 kB / 0.5116 GB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.2532, allocations: 181.6 kB / 0.5118 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2532, allocations: 4.031 kB / 0.5118 GB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.2533, allocations: 16 kB / 0.5118 GB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2533, allocations: 3.984 kB / 0.5118 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.2533, allocations: 0 / 0.5118 GB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2533, allocations: 4 kB / 0.5118 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2533, allocations: 0 / 0.5118 GB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.2536, allocations: 296.3 kB / 0.5121 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.2537, allocations: 96.94 kB / 0.5122 GB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2537, allocations: 4 kB / 0.5122 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2538, allocations: 8 kB / 0.5122 GB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2538, allocations: 3.984 kB / 0.5122 GB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.2539, allocations: 7.953 kB / 0.5122 GB, free: 8.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.2539, allocations: 107.3 kB / 0.5123 GB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 0 / 0.5123 GB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.2542, allocations: 11.98 kB / 0.5123 GB, free: 8.203 MB / 362.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.0001129/0.2543, allocations: 91.25 kB / 0.5124 GB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.2545, allocations: 59.91 kB / 0.5125 GB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2545, allocations: 0 / 0.5125 GB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.2546, allocations: 20.23 kB / 0.5125 GB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2549, allocations: 31.77 kB / 0.5125 GB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.2552, allocations: 194.4 kB / 0.5127 GB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2555, allocations: 0.7044 MB / 0.5134 GB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.2556, allocations: 8.172 kB / 0.5134 GB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2556, allocations: 7.438 kB / 0.5134 GB, free: 7.023 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2556, allocations: 0 / 0.5134 GB, free: 7.023 MB / 362.7 MB Notification: Performance of Templates: time 0.002471/0.2581, allocations: 0.5391 MB / 0.5139 GB, free: 6.492 MB / 362.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/jenkins/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