Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001376/0.001376, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002091/0.002091, allocations: 215.5 kB / 23 MB, free: 5.574 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.564/1.564, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4015, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004092/0.4056, allocations: 1.954 MB / 431.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.4083, allocations: 1.332 MB / 433.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.4085, allocations: 4 kB / 433.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.409, allocations: 75.59 kB / 433.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.4095, allocations: 139.4 kB / 433.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.4105, allocations: 226.6 kB / 433.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.4108, allocations: 191.4 kB / 433.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.411, allocations: 25.67 kB / 433.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.4111, allocations: 91.56 kB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.4113, allocations: 83.67 kB / 433.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.4113, allocations: 8 kB / 433.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.4115, allocations: 71.94 kB / 434 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.4116, allocations: 55.72 kB / 434 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.4118, allocations: 83.41 kB / 434.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.4123, allocations: 252.2 kB / 434.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4123, allocations: 0 / 434.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4123, allocations: 0 / 434.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4123, allocations: 7.922 kB / 434.4 MB, free: 2.957 MB / 334.1 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.001052/0.4133, allocations: 0.5542 MB / 434.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.4134, allocations: 12.03 kB / 434.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.4135, allocations: 20.8 kB / 434.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.4141, allocations: 303.7 kB / 435.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.4141, allocations: 8.375 kB / 435.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4141, allocations: 12.3 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.4147, allocations: 180.7 kB / 435.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4147, allocations: 0 / 435.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4147, allocations: 4 kB / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4147, allocations: 0 / 435.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4148, allocations: 47.91 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.4157, allocations: 403.1 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.416, allocations: 142.5 kB / 436 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.4162, allocations: 55.41 kB / 436.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.4162, allocations: 8 kB / 436.1 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.4164, allocations: 83.31 kB / 436.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.4164, allocations: 0 / 436.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005592/0.417, allocations: 169.3 kB / 436.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.4171, allocations: 192.3 kB / 436.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.4176, allocations: 343 kB / 436.9 MB, free: 164 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.4176, allocations: 33.64 kB / 436.9 MB, free: 124 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.4178, allocations: 132.5 kB / 437 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.4178, allocations: 19.8 kB / 437 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.258e-05/0.4179, allocations: 41.66 kB / 437.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.4181, allocations: 334.8 kB / 437.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.4182, allocations: 31.92 kB / 437.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4184, allocations: 100.6 kB / 437.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.4186, allocations: 101.9 kB / 437.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4186, allocations: 0 / 437.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002979/0.4189, allocations: 149.5 kB / 437.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.4189, allocations: 4 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4189, allocations: 4 kB / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4189, allocations: 0 / 437.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4191, allocations: 23.98 kB / 437.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4191, allocations: 3.938 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.4192, allocations: 7.938 kB / 437.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4192, allocations: 15.98 kB / 437.8 MB, free: 15.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000211/0.4194, allocations: 154.1 kB / 438 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4195, allocations: 89.44 kB / 438.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.4198, allocations: 127.3 kB / 438.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.4199, allocations: 4 kB / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4199, allocations: 0 / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4199, allocations: 4.031 kB / 438.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.4202, allocations: 249.5 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4202, allocations: 0 / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.4203, allocations: 15.98 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4203, allocations: 4.094 kB / 438.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4203, allocations: 4 kB / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4203, allocations: 0 / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4203, allocations: 4 kB / 438.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.4208, allocations: 191.3 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4209, allocations: 120.9 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.421, allocations: 4 kB / 438.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.421, allocations: 8 kB / 438.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.4211, allocations: 7.984 kB / 438.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.4211, allocations: 4 kB / 438.8 MB, free: 14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.4214, allocations: 253.9 kB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4214, allocations: 0 / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.4217, allocations: 32 kB / 439.1 MB, free: 13.72 MB / 350.1 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,table.y,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 (11): * Single equations (assignments): 9 * 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.001643/0.4234, allocations: 444.8 kB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.4237, allocations: 83.89 kB / 439.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4237, allocations: 0 / 439.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.4238, allocations: 27.92 kB / 439.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4243, allocations: 76.47 kB / 439.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.4252, allocations: 402.6 kB / 440.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4257, allocations: 0.7437 MB / 440.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.4258, allocations: 33.78 kB / 440.9 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.4259, allocations: 23.44 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of SimCode: time 1.793e-06/0.4259, allocations: 0 / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Templates: time 0.009154/0.435, allocations: 3.135 MB / 444 MB, free: 8.875 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 5.298070111311972]