Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.72/1.72, allocations: 230.2 MB / 254.5 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.88 kB / 373.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1539, allocations: 53.31 MB / 427.1 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003329/0.1572, allocations: 1.542 MB / 428.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004439/0.1577, allocations: 151.5 kB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.1578, allocations: 3.938 kB / 428.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1579, allocations: 3.938 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.158, allocations: 15.92 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1582, allocations: 31.91 kB / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1584, allocations: 43.84 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1585, allocations: 12 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.1585, allocations: 15.92 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.1586, allocations: 23.84 kB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1586, allocations: 4 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.1586, allocations: 8 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.1587, allocations: 15.92 kB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.1587, allocations: 19.81 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1589, allocations: 55.75 kB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1589, allocations: 3.984 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1589, allocations: 0 / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1589, allocations: 0 / 429.1 MB, free: 2.598 MB / 350.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.0005784/0.1595, allocations: 373.9 kB / 429.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1595, allocations: 12.03 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1595, allocations: 12.89 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1598, allocations: 192.1 kB / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1598, allocations: 8.375 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.1598, allocations: 384 / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1601, allocations: 122.4 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1601, allocations: 192 / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1602, allocations: 11.94 kB / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.1602, allocations: 0 / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1603, allocations: 27.92 kB / 429.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1608, allocations: 361.9 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1609, allocations: 83.72 kB / 430.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.161, allocations: 30.62 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.161, allocations: 4 kB / 430.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.161, allocations: 42.44 kB / 430.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.161, allocations: 0 / 430.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003072/0.1613, allocations: 93.55 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.1614, allocations: 102.8 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1615, allocations: 144.2 kB / 430.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1615, allocations: 25.7 kB / 430.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.1616, allocations: 92.12 kB / 430.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.1616, allocations: 7.891 kB / 430.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1617, allocations: 21.72 kB / 430.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1618, allocations: 318.8 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.1618, allocations: 15.88 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.1619, allocations: 39.42 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.162, allocations: 55.28 kB / 431.2 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.162, allocations: 0 / 431.2 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.1622, allocations: 77.58 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1622, allocations: 4 kB / 431.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1622, allocations: 3.984 kB / 431.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1622, allocations: 4 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.1622, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1622, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.1623, allocations: 4 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1623, allocations: 4 kB / 431.3 MB, free: 48 kB / 350.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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.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.0001279/0.1624, allocations: 137.8 kB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.1625, allocations: 41.66 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.1625, allocations: 15.86 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.1625, allocations: 4 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1625, allocations: 4 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1625, allocations: 0 / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.1628, allocations: 177.6 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1628, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.1628, allocations: 7.984 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1628, allocations: 4.031 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1628, allocations: 0 / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1628, allocations: 4 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1628, allocations: 3.938 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1631, allocations: 255.6 kB / 432 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1632, allocations: 93.05 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1632, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.1633, allocations: 8 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.1633, allocations: 3.984 kB / 432.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1634, allocations: 4 kB / 432.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.551e-05/0.1634, allocations: 103.3 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1634, allocations: 3.938 kB / 432.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1637, allocations: 4 kB / 432.2 MB, free: 15.08 MB / 366.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 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.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.0001277/0.1638, allocations: 111.2 kB / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.164, allocations: 35.98 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.164, allocations: 7.875 kB / 432.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.1641, allocations: 11.98 kB / 432.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1645, allocations: 26.45 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.1649, allocations: 187.5 kB / 432.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1652, allocations: 0.6923 MB / 433.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.1653, allocations: 7.984 kB / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.1653, allocations: 11.44 kB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1653, allocations: 0 / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Templates: time 0.003548/0.1688, allocations: 0.6226 MB / 433.9 MB, free: 13.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.067812005057931]