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.001607/0.001607, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001471/0.001471, allocations: 160.9 kB / 24.27 MB, free: 172 kB / 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.515/1.515, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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.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 2.004e-06/2.004e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.466e-05/4.667e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004212/0.004259, allocations: 1.919 MB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.006789, allocations: 1.168 MB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.00698, allocations: 7.938 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.007745, allocations: 159.4 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.008298, allocations: 163.3 kB / 275.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.008886, allocations: 179.3 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.009362, allocations: 199.3 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.00954, allocations: 29.78 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.01, allocations: 107.7 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.01022, allocations: 71.8 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.01028, allocations: 12 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.01055, allocations: 59.89 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01067, allocations: 47.78 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.01078, allocations: 43.84 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.01126, allocations: 223.2 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01127, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01127, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01128, allocations: 0 / 276.6 MB, free: 13.4 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.001051/0.01233, allocations: 466.5 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.01237, allocations: 11.98 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.01248, allocations: 28.8 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.01294, allocations: 228.8 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.01296, allocations: 8.312 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.01298, allocations: 8.375 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.01341, allocations: 167.2 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.01342, allocations: 4.188 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.01344, allocations: 384 / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01345, allocations: 7.938 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01358, allocations: 43.91 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.01417, allocations: 303 kB / 277.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.01446, allocations: 134.5 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01458, allocations: 59.41 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.01461, allocations: 7.938 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.01481, allocations: 79.33 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.01481, allocations: 4 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004707/0.01528, allocations: 161.4 kB / 278.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.0154, allocations: 140.5 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.0158, allocations: 281.9 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.01582, allocations: 26.08 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01594, allocations: 132.4 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.01597, allocations: 11.91 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.01603, allocations: 25.7 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.01622, allocations: 334.8 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.01629, allocations: 16 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01639, allocations: 68.34 kB / 279.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01653, allocations: 57.64 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01653, allocations: 0 / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002385/0.01677, allocations: 101.5 kB / 279.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.01679, allocations: 11.94 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01679, allocations: 0 / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01681, allocations: 3.984 kB / 279.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.603e-05/0.0169, allocations: 12 kB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01691, allocations: 4 kB / 279.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.01699, allocations: 15.88 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01699, allocations: 0 / 279.5 MB, free: 10.21 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 0.0001595/0.01715, allocations: 137.8 kB / 279.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.0173, allocations: 89.45 kB / 279.7 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.01759, allocations: 127.5 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.01759, allocations: 4 kB / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.0176, allocations: 320 / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.0176, allocations: 0 / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.01782, allocations: 165.3 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01783, allocations: 0 / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.01787, allocations: 11.98 kB / 280 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.01787, allocations: 3.938 kB / 280 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01789, allocations: 4 kB / 280 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01789, allocations: 4.172 kB / 280 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.0179, allocations: 3.984 kB / 280 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.01824, allocations: 187.5 kB / 280.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.01832, allocations: 39.72 kB / 280.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.01835, allocations: 3.984 kB / 280.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.01842, allocations: 8 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.01848, allocations: 7.984 kB / 280.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.0185, allocations: 4 kB / 280.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.01874, allocations: 209.1 kB / 280.5 MB, free: 9.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01874, allocations: 0 / 280.5 MB, free: 9.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.01901, allocations: 32 kB / 280.5 MB, free: 9.109 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.002019/0.02103, allocations: 453 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.02127, allocations: 63.91 kB / 281 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02127, allocations: 0 / 281 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-05/0.02135, allocations: 27.98 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.02186, allocations: 80.36 kB / 281.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.0226, allocations: 365.9 kB / 281.5 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02275, allocations: 119.6 kB / 281.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.821e-05/0.02284, allocations: 29.61 kB / 281.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.0229, allocations: 20.5 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0229, allocations: 3.938 kB / 281.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of Templates: time 0.008115/0.03102, allocations: 2.829 MB / 284.4 MB, free: 5.281 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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: 4.388338931952603]