Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001199/0.001199, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.004374/0.004374, allocations: 164.7 kB / 24.82 MB, free: 9.312 MB / 18.57 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.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.063e-05, allocations: 5.266 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003036/0.003067, allocations: 1.552 MB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004446/0.003512, allocations: 139.4 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.00359, allocations: 4 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.194e-05/0.003632, allocations: 7.922 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003749, allocations: 7.922 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003946, allocations: 35.84 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.004027, allocations: 35.86 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.004114, allocations: 11.98 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/0.004157, allocations: 8 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.004184, allocations: 11.92 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.0042, allocations: 0 / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.004209, allocations: 4 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.004258, allocations: 8 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.004281, allocations: 19.91 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.267e-05/0.004364, allocations: 23.86 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.004367, allocations: 3.938 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.004368, allocations: 4 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004372, allocations: 0 / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003381/0.00471, allocations: 384.4 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.004753, allocations: 15.98 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.004782, allocations: 8.891 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.004921, allocations: 136.5 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.004936, allocations: 384 / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.004944, allocations: 4.375 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.005104, allocations: 105.6 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005111, allocations: 192 / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.005118, allocations: 384 / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005123, allocations: 4.359 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.005139, allocations: 15.81 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.005357, allocations: 244.1 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.005403, allocations: 54.06 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.005418, allocations: 19.5 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.005434, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.005456, allocations: 41.39 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.005457, allocations: 0 / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.005585, allocations: 53.52 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.005629, allocations: 81.11 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.005731, allocations: 188.8 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005742, allocations: 25.7 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.005804, allocations: 130.9 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.005814, allocations: 7.953 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005842, allocations: 15.38 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.005989, allocations: 0.4925 MB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.005998, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.006004, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/0.00603, allocations: 23.61 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006032, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.792e-05/0.00608, allocations: 29.7 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.006097, allocations: 11.12 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.006102, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006115, allocations: 3.938 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.006178, allocations: 96 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006182, allocations: 4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.006207, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006213, allocations: 4 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001157/0.006328, allocations: 156.6 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.006366, allocations: 41.59 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.006397, allocations: 7.469 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.006399, allocations: 3.938 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.006402, allocations: 4 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.006406, allocations: 4 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.325e-05/0.006499, allocations: 101.3 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.006501, allocations: 4 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.006506, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006507, allocations: 3.938 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.006511, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006511, allocations: 0 / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.006514, allocations: 4 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.006619, allocations: 207.4 kB / 277.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.006646, allocations: 11.94 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.006654, allocations: 0 / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.006691, allocations: 8.031 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.006714, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.006719, allocations: 3.938 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.4e-05/0.006763, allocations: 143.1 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006763, allocations: 0 / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.006898, allocations: 4 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.418e-05/0.006973, allocations: 91.25 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.00702, allocations: 19.61 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007022, allocations: 4 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.007032, allocations: 11.75 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.007248, allocations: 15.58 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.007536, allocations: 149.5 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.00757, allocations: 59.3 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.007589, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.007636, allocations: 74.19 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007636, allocations: 0 / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Templates: time 0.001954/0.009591, allocations: 0.5231 MB / 278.9 MB, free: 11.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.701592044904828]