Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 105.7 kB / 16.45 MB, free: 6.375 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.001869/0.001869, allocations: 192.6 kB / 17.38 MB, free: 5.641 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.69/1.69, 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.08548/0.08548, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.002085/0.002085, allocations: 86.58 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003723/0.1412, allocations: 1.512 MB / 445.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006114/0.1418, allocations: 147.5 kB / 445.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1421, allocations: 4 kB / 445.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.1422, allocations: 7.922 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1424, allocations: 7.938 kB / 445.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1428, allocations: 47.83 kB / 445.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.143, allocations: 31.86 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1432, allocations: 23.97 kB / 445.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.1432, allocations: 11.94 kB / 445.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.1433, allocations: 19.92 kB / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1433, allocations: 4 kB / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.1433, allocations: 0 / 445.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.1434, allocations: 23.91 kB / 445.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1435, allocations: 23.81 kB / 445.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1438, allocations: 47.77 kB / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1438, allocations: 4 kB / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.1438, allocations: 0 / 445.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1438, allocations: 3.938 kB / 445.5 MB, free: 14.55 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.0006629/0.1445, allocations: 371.2 kB / 445.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1446, allocations: 8.031 kB / 445.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.1446, allocations: 12.83 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.145, allocations: 192.1 kB / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1451, allocations: 4.375 kB / 446 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1451, allocations: 4.375 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.1455, allocations: 122.4 kB / 446.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1455, allocations: 192 / 446.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1456, allocations: 7.875 kB / 446.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.1456, allocations: 7.984 kB / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1457, allocations: 27.92 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1463, allocations: 365.9 kB / 446.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1464, allocations: 87.72 kB / 446.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.1465, allocations: 34.56 kB / 446.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1465, allocations: 4 kB / 446.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1466, allocations: 34.56 kB / 446.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.1466, allocations: 0 / 446.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003388/0.1469, allocations: 89.55 kB / 446.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.147, allocations: 115.1 kB / 446.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1471, allocations: 145.6 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1472, allocations: 25.7 kB / 447.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.1473, allocations: 88.14 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1473, allocations: 7.891 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.1473, allocations: 21.72 kB / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1475, allocations: 310.8 kB / 447.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.1475, allocations: 19.98 kB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.1476, allocations: 35.42 kB / 447.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1478, allocations: 55.3 kB / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1478, allocations: 0 / 447.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001646/0.1479, allocations: 73.61 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.148, allocations: 4 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.148, allocations: 0 / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.148, allocations: 4 kB / 447.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.148, allocations: 7.938 kB / 447.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.148, allocations: 0 / 447.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1481, allocations: 16.02 kB / 447.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1481, allocations: 4 kB / 447.7 MB, free: 11.99 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[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.1482, allocations: 121.8 kB / 447.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.1483, allocations: 45.69 kB / 447.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.1484, allocations: 19.81 kB / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.1484, allocations: 4 kB / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1484, allocations: 0 / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1484, allocations: 0 / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1487, allocations: 181.4 kB / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1487, allocations: 7.969 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-06/0.1487, allocations: 7.938 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1487, allocations: 0 / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1487, allocations: 0 / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1487, allocations: 4 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1487, allocations: 0 / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.149, allocations: 259.6 kB / 448.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.149, allocations: 89 kB / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1491, allocations: 0 / 448.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.1492, allocations: 7.984 kB / 448.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.1492, allocations: 7.938 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1492, allocations: 4 kB / 448.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.1493, allocations: 107.2 kB / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 0 / 448.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1496, allocations: 11.91 kB / 448.6 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[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 (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.0001354/0.1498, allocations: 99.19 kB / 448.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.15, allocations: 40.05 kB / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.15, allocations: 0 / 448.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.15, allocations: 15.98 kB / 448.7 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.000456/0.1505, allocations: 28.31 kB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.151, allocations: 179.4 kB / 448.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1513, allocations: 0.6885 MB / 449.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.1513, allocations: 7.984 kB / 449.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1514, allocations: 11.44 kB / 449.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1514, allocations: 0 / 449.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of Templates: time 0.003804/0.1552, allocations: 0.6255 MB / 450.3 MB, free: 9.27 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches