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.001154/0.001154, allocations: 82.59 kB / 21.43 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.001798/0.001798, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.033/1.033, allocations: 177 MB / 205.1 MB, free: 5.465 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.864e-06/1.864e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.161e-05, allocations: 8.984 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004046/0.004077, allocations: 1.963 MB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.006291, allocations: 1.191 MB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.006491, allocations: 7.938 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.007159, allocations: 159.4 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.007532, allocations: 171.2 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.007983, allocations: 175.3 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.008236, allocations: 207.4 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.00834, allocations: 17.8 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.008489, allocations: 111.7 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.008599, allocations: 67.8 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.008623, allocations: 8 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.008757, allocations: 63.89 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.008827, allocations: 51.77 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.008876, allocations: 43.86 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.009126, allocations: 171.3 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.009131, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009132, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.009137, allocations: 0 / 277.7 MB, free: 12.8 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.0006197/0.009757, allocations: 0.5555 MB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.009805, allocations: 15.98 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.009869, allocations: 24.8 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.01014, allocations: 236.4 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.01016, allocations: 4.375 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.01018, allocations: 12.38 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.01042, allocations: 156.1 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.01042, allocations: 192 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.01043, allocations: 384 / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.01044, allocations: 7.938 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.01048, allocations: 23.92 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.01083, allocations: 323.4 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.01099, allocations: 144.4 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.01105, allocations: 46.73 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.01107, allocations: 7.922 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.0112, allocations: 84.91 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.0112, allocations: 4 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002679/0.01147, allocations: 121.5 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.01153, allocations: 144.4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01177, allocations: 292.2 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.01178, allocations: 25.7 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.01188, allocations: 179.1 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.0119, allocations: 11.84 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.01195, allocations: 35.72 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.0121, allocations: 0.5079 MB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.01212, allocations: 7.984 kB / 280.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.01217, allocations: 60.75 kB / 280.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.01222, allocations: 39.3 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01222, allocations: 0 / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001232/0.01235, allocations: 89.42 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01236, allocations: 7.125 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01237, allocations: 0 / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01238, allocations: 4 kB / 280.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.01245, allocations: 12.06 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.01245, allocations: 0 / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.0125, allocations: 7.984 kB / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01251, allocations: 4 kB / 280.9 MB, free: 9.309 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.0001006/0.01261, allocations: 160.6 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.0127, allocations: 77.42 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.01285, allocations: 99.5 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01286, allocations: 4 kB / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01286, allocations: 416 / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.01287, allocations: 8 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01303, allocations: 145.2 kB / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01303, allocations: 0 / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.01307, allocations: 8 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01307, allocations: 0 / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.01308, allocations: 8 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01308, allocations: 3.938 kB / 281.4 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.01309, allocations: 7.875 kB / 281.4 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01326, allocations: 155.3 kB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.01332, allocations: 31.78 kB / 281.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01334, allocations: 11.98 kB / 281.6 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.01341, allocations: 11.94 kB / 281.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.01344, allocations: 3.984 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01345, allocations: 4 kB / 281.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.01357, allocations: 205.1 kB / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01357, allocations: 0 / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01381, allocations: 28 kB / 281.8 MB, free: 8.27 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.001011/0.01482, allocations: 391.4 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.01495, allocations: 51.59 kB / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01495, allocations: 0 / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.01499, allocations: 27.67 kB / 282.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.01535, allocations: 77.28 kB / 282.3 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.01583, allocations: 328.8 kB / 282.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.01589, allocations: 79.97 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.01595, allocations: 25.75 kB / 282.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01606, allocations: 110.2 kB / 282.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01606, allocations: 288 / 282.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of Templates: time 0.006145/0.0222, allocations: 3.098 MB / 286 MB, free: 4.203 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.845578148961067]