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.001545/0.001545, allocations: 107.6 kB / 16.45 MB, free: 6.387 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.001841/0.001841, allocations: 194.4 kB / 17.39 MB, free: 5.672 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.743/1.743, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.08511/0.08511, allocations: 12.58 MB / 283.2 MB, free: 15.4 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.00197/0.00197, allocations: 86.19 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1188, allocations: 49.41 MB / 443.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003342/0.1221, allocations: 1.512 MB / 445.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.1227, allocations: 147.5 kB / 445.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1229, allocations: 7.938 kB / 445.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1231, allocations: 7.922 kB / 445.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1232, allocations: 11.94 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1236, allocations: 39.83 kB / 445.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1237, allocations: 39.86 kB / 445.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1239, allocations: 27.91 kB / 445.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1239, allocations: 19.92 kB / 445.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.124, allocations: 15.88 kB / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1241, allocations: 4 kB / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.1241, allocations: 4 kB / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.1242, allocations: 15.92 kB / 445.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.729e-05/0.1242, allocations: 27.8 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1244, allocations: 55.75 kB / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1244, allocations: 0 / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1244, allocations: 0 / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1244, allocations: 0 / 445.5 MB, free: 14.56 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.0006472/0.1251, allocations: 383.1 kB / 445.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1252, allocations: 12.03 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.1252, allocations: 12.84 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1256, allocations: 196.2 kB / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1256, allocations: 384 / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1256, allocations: 4.375 kB / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.1261, allocations: 130.3 kB / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1261, allocations: 192 / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1261, allocations: 7.938 kB / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.1262, allocations: 0 / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1263, allocations: 35.91 kB / 446.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.1271, allocations: 370 kB / 446.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1273, allocations: 91.7 kB / 446.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.1274, allocations: 38.56 kB / 446.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1274, allocations: 4 kB / 446.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.1274, allocations: 38.5 kB / 446.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.1274, allocations: 3.938 kB / 446.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003887/0.1278, allocations: 109.6 kB / 446.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.128, allocations: 106.8 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1281, allocations: 145.8 kB / 447.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1282, allocations: 25.7 kB / 447.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.1283, allocations: 88.14 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.1283, allocations: 3.906 kB / 447.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.1283, allocations: 25.98 kB / 447.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1285, allocations: 318.8 kB / 447.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1286, allocations: 11.98 kB / 447.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.1287, allocations: 43.41 kB / 447.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1288, allocations: 63.34 kB / 447.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1288, allocations: 3.938 kB / 447.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001791/0.129, allocations: 77.52 kB / 447.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.129, allocations: 8.125 kB / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1291, allocations: 4 kB / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1291, allocations: 0 / 447.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.1292, allocations: 19.92 kB / 447.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1292, allocations: 4 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1293, allocations: 4 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1293, allocations: 0 / 447.8 MB, free: 11.91 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.0001476/0.1294, allocations: 129.7 kB / 448 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1295, allocations: 53.69 kB / 448 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.1296, allocations: 19.81 kB / 448 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.1296, allocations: 3.984 kB / 448 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1296, allocations: 4 kB / 448 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1296, allocations: 0 / 448 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1299, allocations: 177.6 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1299, allocations: 0 / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.13, allocations: 11.94 kB / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.13, allocations: 3.984 kB / 448.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.13, allocations: 7.938 kB / 448.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.13, allocations: 8.031 kB / 448.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.13, allocations: 0 / 448.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1303, allocations: 259.5 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1303, allocations: 93 kB / 448.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1304, allocations: 8 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.1305, allocations: 0 / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1305, allocations: 11.92 kB / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1305, allocations: 0 / 448.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.1306, allocations: 108 kB / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1306, allocations: 0 / 448.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1309, allocations: 11.94 kB / 448.7 MB, free: 10.91 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.0001033/0.131, allocations: 99.23 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1312, allocations: 47.91 kB / 448.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1312, allocations: 0 / 448.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/0.1313, allocations: 19.98 kB / 448.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.1317, allocations: 27.94 kB / 448.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.1321, allocations: 183.6 kB / 449.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1325, allocations: 0.6924 MB / 449.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.1326, allocations: 7.984 kB / 449.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1326, allocations: 11.44 kB / 449.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1326, allocations: 0 / 449.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Templates: time 0.003275/0.1359, allocations: 0.6299 MB / 450.4 MB, free: 9.137 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