Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.0009352/0.0009352, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009578/0.0009578, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.001/1.001, allocations: 177 MB / 205.9 MB, free: 4.461 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.796e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003185/0.003213, allocations: 1.965 MB / 276.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.004976, allocations: 1.197 MB / 277.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.005131, allocations: 7.938 kB / 277.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.005727, allocations: 156.1 kB / 277.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.006155, allocations: 163.9 kB / 277.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.006658, allocations: 181.8 kB / 277.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.006928, allocations: 203.4 kB / 278 MB, free: 436 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.007032, allocations: 21.7 kB / 278 MB, free: 412 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.007182, allocations: 111.7 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.007327, allocations: 77.55 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.007348, allocations: 8 kB / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.007484, allocations: 59.89 kB / 278.2 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.00755, allocations: 47.83 kB / 278.3 MB, free: 108 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.007604, allocations: 39.86 kB / 278.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.0079, allocations: 171.9 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.007903, allocations: 0 / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007905, allocations: 0.6562 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.00791, allocations: 0 / 278.5 MB, free: 15.9 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006205/0.008531, allocations: 0.5517 MB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.008565, allocations: 12.02 kB / 279.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.008623, allocations: 32.8 kB / 279.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.008889, allocations: 232.2 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.008909, allocations: 12.36 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.008923, allocations: 4.375 kB / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.009156, allocations: 164.1 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.009166, allocations: 192 / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.009177, allocations: 4.375 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.009186, allocations: 3.938 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.009232, allocations: 23.92 kB / 279.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.009585, allocations: 319.4 kB / 279.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.009744, allocations: 144.4 kB / 280 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.009791, allocations: 54.72 kB / 280 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.009807, allocations: 4 kB / 280 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.009907, allocations: 68.98 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.009909, allocations: 0 / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002316/0.01014, allocations: 129.4 kB / 280.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.0102, allocations: 148.8 kB / 280.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.01053, allocations: 288.2 kB / 280.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.01054, allocations: 29.7 kB / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.01063, allocations: 175.1 kB / 280.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.01066, allocations: 15.84 kB / 280.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.01071, allocations: 35.34 kB / 280.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01084, allocations: 0.5001 MB / 281.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.01086, allocations: 7.984 kB / 281.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.01091, allocations: 64.75 kB / 281.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.01096, allocations: 39.33 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01096, allocations: 4 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001083/0.01107, allocations: 81.47 kB / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01108, allocations: 8 kB / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01108, allocations: 0 / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.01109, allocations: 0 / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.01115, allocations: 11.94 kB / 281.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.01116, allocations: 4 kB / 281.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.0112, allocations: 7.938 kB / 281.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.01121, allocations: 4 kB / 281.6 MB, free: 12.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.609e-05/0.01129, allocations: 167.8 kB / 281.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.01137, allocations: 81.41 kB / 281.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.01151, allocations: 103.4 kB / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.01151, allocations: 0 / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01152, allocations: 8 kB / 282 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01152, allocations: 0 / 282 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.01166, allocations: 141.2 kB / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01166, allocations: 0 / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.01169, allocations: 12 kB / 282.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0117, allocations: 4.094 kB / 282.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.0117, allocations: 4 kB / 282.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01171, allocations: 4.172 kB / 282.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.01171, allocations: 4 kB / 282.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01185, allocations: 155.3 kB / 282.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.01191, allocations: 39.77 kB / 282.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01193, allocations: 7.984 kB / 282.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.01199, allocations: 7.938 kB / 282.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.01202, allocations: 7.984 kB / 282.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01203, allocations: 4 kB / 282.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.01215, allocations: 205.1 kB / 282.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 0 / 282.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.01239, allocations: 24 kB / 282.6 MB, free: 11.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009771/0.01336, allocations: 396.2 kB / 283 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01348, allocations: 39.67 kB / 283 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01348, allocations: 0 / 283 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.01352, allocations: 27.61 kB / 283 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.01385, allocations: 85.45 kB / 283.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.0143, allocations: 329.2 kB / 283.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.01436, allocations: 87.97 kB / 283.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.98e-05/0.01442, allocations: 21.62 kB / 283.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01453, allocations: 110.2 kB / 283.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01453, allocations: 0 / 283.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.005932/0.02046, allocations: 3.122 MB / 286.8 MB, free: 7.285 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.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.8713762438856065]