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.0009756/0.0009756, allocations: 96.78 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 168.8 kB / 16.62 MB, free: 6.434 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.707/1.707, allocations: 205.4 MB / 222.8 MB, free: 5.492 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.1188/0.1188, allocations: 12.6 MB / 283.7 MB, free: 8.531 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.0007618/0.000762, allocations: 27.98 kB / 344.5 MB, free: 21.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1471, allocations: 50.38 MB / 394.9 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001818/0.1489, allocations: 1.212 MB / 396.1 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004111/0.1494, allocations: 147.6 kB / 396.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1495, allocations: 4 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1496, allocations: 3.938 kB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1498, allocations: 7.984 kB / 396.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1501, allocations: 35.84 kB / 396.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1502, allocations: 39.86 kB / 396.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1503, allocations: 7.984 kB / 396.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.1504, allocations: 15.94 kB / 396.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.1505, allocations: 15.91 kB / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.1505, allocations: 0 / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.1505, allocations: 3.938 kB / 396.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.1506, allocations: 23.92 kB / 396.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.1507, allocations: 41.58 kB / 396.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1508, allocations: 27.95 kB / 396.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1508, allocations: 0 / 396.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1508, allocations: 0 / 396.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1508, allocations: 0 / 396.5 MB, free: 1.152 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.0005944/0.1514, allocations: 367.3 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.643e-05/0.1515, allocations: 8.031 kB / 396.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.1516, allocations: 11.91 kB / 396.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1519, allocations: 199.8 kB / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1519, allocations: 0 / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.152, allocations: 7.953 kB / 397.1 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.1523, allocations: 113.9 kB / 397.2 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1523, allocations: 3.938 kB / 397.2 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1523, allocations: 8 kB / 397.2 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.1524, allocations: 4 kB / 397.2 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.1525, allocations: 27.98 kB / 397.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.153, allocations: 377.8 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1532, allocations: 75.78 kB / 397.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.1532, allocations: 42.62 kB / 397.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.1533, allocations: 3.938 kB / 397.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1533, allocations: 30.56 kB / 397.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1533, allocations: 0 / 397.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003248/0.1536, allocations: 109.8 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.1537, allocations: 106.8 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1539, allocations: 145.2 kB / 398.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1539, allocations: 25.7 kB / 398.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.154, allocations: 84.14 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.154, allocations: 4 kB / 398.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.154, allocations: 0 / 398.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1541, allocations: 326.8 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.1542, allocations: 8 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/0.1542, allocations: 39.42 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.1543, allocations: 27.92 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1543, allocations: 0 / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.1545, allocations: 77.52 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1545, allocations: 8 kB / 398.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1545, allocations: 4.031 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1545, allocations: 3.984 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.186e-05/0.1546, allocations: 8.125 kB / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1546, allocations: 0 / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.1546, allocations: 4 kB / 398.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1546, allocations: 0 / 398.7 MB, free: 14.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.1548, allocations: 129.7 kB / 398.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.1549, allocations: 53.59 kB / 398.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.1549, allocations: 7.875 kB / 398.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.1549, allocations: 4 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1549, allocations: 4.031 kB / 398.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1549, allocations: 3.984 kB / 398.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1552, allocations: 177.6 kB / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1552, allocations: 0 / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.1552, allocations: 4 kB / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1552, allocations: 0 / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.1552, allocations: 0 / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1552, allocations: 0 / 399.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1552, allocations: 4 kB / 399.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1555, allocations: 259.5 kB / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.1556, allocations: 101 kB / 399.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1556, allocations: 7.984 kB / 399.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.1557, allocations: 4 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1558, allocations: 4 kB / 399.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1558, allocations: 4 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.1558, allocations: 107.2 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1561, allocations: 11.94 kB / 399.6 MB, free: 13.68 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 (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 9.392e-05/0.1562, allocations: 95.23 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1564, allocations: 47.97 kB / 399.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1564, allocations: 0 / 399.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.1565, allocations: 19.94 kB / 399.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.1569, allocations: 24.02 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1572, allocations: 186.8 kB / 399.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1576, allocations: 0.7042 MB / 400.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.848e-05/0.1576, allocations: 4 kB / 400.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1577, allocations: 7.438 kB / 400.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1577, allocations: 0 / 400.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Templates: time 0.003112/0.1608, allocations: 0.5403 MB / 401.2 MB, free: 11.98 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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