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.00127/0.00127, allocations: 95.45 kB / 16.02 MB, free: 6.301 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.001528/0.001528, allocations: 195.6 kB / 16.95 MB, free: 6.145 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.7/1.7, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09706/0.09706, allocations: 12.58 MB / 282.7 MB, free: 8.805 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.001702/0.001702, allocations: 87.81 kB / 343 MB, free: 21.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 49.4 MB / 392.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00399/0.1435, allocations: 1.562 MB / 393.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.144, allocations: 147.5 kB / 394.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1442, allocations: 11.88 kB / 394.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1443, allocations: 0 / 394.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1444, allocations: 7.922 kB / 394.1 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1447, allocations: 39.91 kB / 394.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1448, allocations: 39.86 kB / 394.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.145, allocations: 16 kB / 394.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.1451, allocations: 15.92 kB / 394.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.1451, allocations: 23.91 kB / 394.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1451, allocations: 4 kB / 394.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.1452, allocations: 0 / 394.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.1452, allocations: 15.94 kB / 394.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.1453, allocations: 23.8 kB / 394.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1455, allocations: 52.09 kB / 394.3 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1455, allocations: 3.938 kB / 394.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.1455, allocations: 4 kB / 394.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1455, allocations: 4 kB / 394.3 MB, free: 1.617 MB / 286.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.0006434/0.1461, allocations: 375 kB / 394.7 MB, free: 1.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1462, allocations: 8.031 kB / 394.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1463, allocations: 8.844 kB / 394.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1465, allocations: 185.1 kB / 394.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1466, allocations: 8.375 kB / 394.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1466, allocations: 4.375 kB / 394.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.147, allocations: 122.4 kB / 395 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.147, allocations: 4.188 kB / 395 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.147, allocations: 3.938 kB / 395.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.1471, allocations: 4 kB / 395.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.1472, allocations: 27.92 kB / 395.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1477, allocations: 361.9 kB / 395.4 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1479, allocations: 83.72 kB / 395.5 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1479, allocations: 38.56 kB / 395.6 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.1479, allocations: 0 / 395.6 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.148, allocations: 30.56 kB / 395.6 MB, free: 172 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.148, allocations: 4 kB / 395.6 MB, free: 168 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.1484, allocations: 93.5 kB / 395.7 MB, free: 68 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.1485, allocations: 110.8 kB / 395.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1487, allocations: 149 kB / 395.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1487, allocations: 25.7 kB / 396 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1489, allocations: 84.14 kB / 396 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.1489, allocations: 11.84 kB / 396.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.149, allocations: 22.09 kB / 396.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1491, allocations: 322.8 kB / 396.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.1492, allocations: 7.984 kB / 396.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.1493, allocations: 39.44 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1494, allocations: 59.28 kB / 396.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1494, allocations: 0 / 396.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.1495, allocations: 73.52 kB / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1495, allocations: 8 kB / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1496, allocations: 0 / 396.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1496, allocations: 4.125 kB / 396.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.1496, allocations: 7.938 kB / 396.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1496, allocations: 0 / 396.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.1497, allocations: 4 kB / 396.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1497, allocations: 0 / 396.6 MB, free: 15.07 MB / 302.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.000222/0.1499, allocations: 129.8 kB / 396.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.15, allocations: 49.59 kB / 396.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.1501, allocations: 7.969 kB / 396.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.1501, allocations: 12.02 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1501, allocations: 0 / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1501, allocations: 4 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1503, allocations: 181.6 kB / 397 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1503, allocations: 0 / 397 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-06/0.1504, allocations: 3.938 kB / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1504, allocations: 0 / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1504, allocations: 4 kB / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1504, allocations: 0 / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1504, allocations: 0 / 397 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1507, allocations: 259.5 kB / 397.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.1508, allocations: 93 kB / 397.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1508, allocations: 4 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.1509, allocations: 7.984 kB / 397.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.1509, allocations: 7.938 kB / 397.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.151, allocations: 7.938 kB / 397.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.151, allocations: 107.2 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.151, allocations: 0 / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1513, allocations: 11.94 kB / 397.5 MB, free: 14.09 MB / 302.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.0001388/0.1514, allocations: 91.25 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1516, allocations: 43.91 kB / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.1517, allocations: 4.25 kB / 397.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.1517, allocations: 8 kB / 397.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.1522, allocations: 35.89 kB / 397.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.1526, allocations: 199.2 kB / 397.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.153, allocations: 0.6961 MB / 398.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.153, allocations: 8 kB / 398.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1531, allocations: 7.438 kB / 398.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1531, allocations: 0 / 398.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Templates: time 0.003461/0.1566, allocations: 0.5725 MB / 399.1 MB, free: 12.37 MB / 302.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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches