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.001956/0.001956, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002098/0.002098, allocations: 160.8 kB / 24.27 MB, free: 156 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.573/1.573, allocations: 177 MB / 204.5 MB, free: 5.629 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.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 2.124e-06/2.124e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.378e-05, allocations: 6.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00588/0.005914, allocations: 1.927 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.008867, allocations: 1.273 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.009059, allocations: 7.938 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.00949, allocations: 63.61 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.0101, allocations: 147.2 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01112, allocations: 231.2 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.01156, allocations: 195.3 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.01169, allocations: 21.8 kB / 276.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.01197, allocations: 107.7 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.01217, allocations: 75.78 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.01222, allocations: 12 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.01247, allocations: 71.88 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.0126, allocations: 59.77 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.01271, allocations: 43.84 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.01332, allocations: 263.1 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.01332, allocations: 0 / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01333, allocations: 0 / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.01334, allocations: 0 / 276.7 MB, free: 13.32 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.001411/0.01475, allocations: 0.594 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.01481, allocations: 11.98 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.01496, allocations: 32.8 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.0156, allocations: 244.6 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.01564, allocations: 12.36 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.01566, allocations: 4.375 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.01626, allocations: 217.6 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.01627, allocations: 192 / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01629, allocations: 8.359 kB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.01631, allocations: 7.938 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.01647, allocations: 39.91 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.01732, allocations: 414.7 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.01774, allocations: 168.5 kB / 278.4 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.0179, allocations: 62.73 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.01793, allocations: 3.938 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.01818, allocations: 80.98 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.01818, allocations: 0 / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006216/0.0188, allocations: 169.4 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.01898, allocations: 162.2 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.01964, allocations: 386.3 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.01967, allocations: 29.69 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.01991, allocations: 195.1 kB / 279.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.01996, allocations: 19.84 kB / 279.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.02007, allocations: 43.31 kB / 279.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003847/0.02046, allocations: 0.5196 MB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.02053, allocations: 16.38 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.02071, allocations: 114.1 kB / 280.2 MB, free: 9.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.02088, allocations: 55.36 kB / 280.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02089, allocations: 0 / 280.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003042/0.02119, allocations: 101.5 kB / 280.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.02121, allocations: 7.984 kB / 280.3 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.02122, allocations: 4 kB / 280.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.02124, allocations: 0 / 280.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.02136, allocations: 8 kB / 280.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.02137, allocations: 4 kB / 280.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.952e-05/0.02147, allocations: 8.266 kB / 280.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.02149, allocations: 12.05 kB / 280.4 MB, free: 9.242 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,table.y) * 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.0002003/0.02169, allocations: 176.5 kB / 280.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.02189, allocations: 89.42 kB / 280.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.02224, allocations: 111.7 kB / 280.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.02225, allocations: 4 kB / 280.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.02225, allocations: 0 / 280.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.02226, allocations: 4 kB / 280.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.02265, allocations: 224.5 kB / 281 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02266, allocations: 4.094 kB / 281 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.02278, allocations: 23.92 kB / 281 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.02279, allocations: 3.938 kB / 281 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.02281, allocations: 8 kB / 281 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02282, allocations: 0 / 281 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.02282, allocations: 4 kB / 281 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.02329, allocations: 199.3 kB / 281.2 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.02343, allocations: 39.77 kB / 281.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.02347, allocations: 8 kB / 281.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.02357, allocations: 3.938 kB / 281.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.02364, allocations: 19.98 kB / 281.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.02368, allocations: 4 kB / 281.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000393/0.02407, allocations: 255 kB / 281.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02407, allocations: 0 / 281.5 MB, free: 7.988 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.02453, allocations: 35.92 kB / 281.6 MB, free: 7.953 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,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 (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.003797/0.02832, allocations: 459.2 kB / 282 MB, free: 7.652 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.02868, allocations: 71.61 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.02869, allocations: 4.062 kB / 282.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.02882, allocations: 35.67 kB / 282.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.02952, allocations: 92.38 kB / 282.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.0305, allocations: 388.8 kB / 282.6 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.03072, allocations: 132.5 kB / 282.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.03083, allocations: 29.78 kB / 282.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.03093, allocations: 28.48 kB / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03093, allocations: 0 / 282.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of Templates: time 0.01138/0.04232, allocations: 3.235 MB / 286 MB, free: 3.637 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] 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: 4.58211522095371]