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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 105.2 kB / 16.45 MB, free: 6.488 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.001439/0.001439, allocations: 192.5 kB / 17.38 MB, free: 5.711 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.591/1.591, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08658/0.08658, allocations: 12.58 MB / 283.2 MB, free: 15.42 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.00186/0.001861, allocations: 87.2 kB / 394.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1236, allocations: 49.39 MB / 443.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002743/0.1264, allocations: 1.527 MB / 445.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.1269, allocations: 143.5 kB / 445.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.127, allocations: 7.938 kB / 445.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.1272, allocations: 7.938 kB / 445.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.847e-05/0.1273, allocations: 11.91 kB / 445.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1275, allocations: 35.86 kB / 445.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1276, allocations: 47.83 kB / 445.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1278, allocations: 19.92 kB / 445.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.1278, allocations: 23.92 kB / 445.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.1279, allocations: 19.86 kB / 445.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1279, allocations: 0 / 445.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.1279, allocations: 4 kB / 445.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.128, allocations: 15.94 kB / 445.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.1281, allocations: 27.8 kB / 445.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1282, allocations: 55.75 kB / 445.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.1282, allocations: 0 / 445.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1282, allocations: 3.938 kB / 445.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1282, allocations: 0 / 445.5 MB, free: 14.66 MB / 334.1 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.0005212/0.1288, allocations: 383.1 kB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1288, allocations: 8.031 kB / 445.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.1289, allocations: 8.844 kB / 445.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1291, allocations: 196.2 kB / 446.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1292, allocations: 4.375 kB / 446.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1292, allocations: 384 / 446.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.1295, allocations: 130.4 kB / 446.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1295, allocations: 192 / 446.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1295, allocations: 3.938 kB / 446.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.1296, allocations: 4 kB / 446.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1297, allocations: 35.91 kB / 446.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.1301, allocations: 366 kB / 446.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1303, allocations: 95.78 kB / 446.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.1304, allocations: 34.5 kB / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1304, allocations: 0 / 446.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1304, allocations: 38.56 kB / 446.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1305, allocations: 7.875 kB / 446.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003506/0.1308, allocations: 109.6 kB / 446.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1309, allocations: 110.8 kB / 447 MB, free: 12.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.131, allocations: 141.8 kB / 447.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.131, allocations: 29.7 kB / 447.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1311, allocations: 84.14 kB / 447.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1311, allocations: 8.172 kB / 447.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.1312, allocations: 25.72 kB / 447.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1313, allocations: 314.8 kB / 447.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.1314, allocations: 19.97 kB / 447.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.764e-05/0.1315, allocations: 35.42 kB / 447.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1316, allocations: 67.34 kB / 447.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1316, allocations: 3.938 kB / 447.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001777/0.1318, allocations: 77.52 kB / 447.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1318, allocations: 8.125 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1319, allocations: 3.984 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1319, allocations: 4 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.132, allocations: 15.94 kB / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.132, allocations: 0 / 447.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1321, allocations: 11.98 kB / 447.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1321, allocations: 4 kB / 447.8 MB, free: 12.02 MB / 334.1 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[2],sample.u[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1322, allocations: 125.7 kB / 448 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.1323, allocations: 53.67 kB / 448 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.1324, allocations: 19.81 kB / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.1324, allocations: 4 kB / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1324, allocations: 0 / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1324, allocations: 0 / 448 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1327, allocations: 181.6 kB / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1327, allocations: 0 / 448.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1327, allocations: 11.92 kB / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1327, allocations: 4 kB / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1327, allocations: 32 / 448.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1328, allocations: 7.938 kB / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1328, allocations: 0 / 448.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.1331, allocations: 259.5 kB / 448.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.1332, allocations: 97 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1332, allocations: 4 kB / 448.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1334, allocations: 7.984 kB / 448.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.1334, allocations: 3.938 kB / 448.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1334, allocations: 4 kB / 448.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.1335, allocations: 111.9 kB / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1335, allocations: 0 / 448.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1338, allocations: 11.94 kB / 448.7 MB, free: 11.02 MB / 334.1 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[2],sample.u[1],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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001372/0.1339, allocations: 95.25 kB / 448.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1341, allocations: 47.91 kB / 448.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1342, allocations: 4 kB / 448.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1342, allocations: 15.98 kB / 448.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1347, allocations: 23.95 kB / 448.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1352, allocations: 191.6 kB / 449.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1356, allocations: 0.6885 MB / 449.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.834e-05/0.1357, allocations: 7.984 kB / 449.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1357, allocations: 11.44 kB / 449.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1357, allocations: 0 / 449.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of Templates: time 0.00362/0.1393, allocations: 0.6533 MB / 450.5 MB, free: 9.227 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches