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.001868/0.001868, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002224/0.002224, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.002029/0.002029, allocations: 67.89 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003807/0.3168, allocations: 1.95 MB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3192, allocations: 1.34 MB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.3194, allocations: 7.938 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3197, allocations: 75.59 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.3201, allocations: 131.4 kB / 435.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.3207, allocations: 234.7 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.321, allocations: 191.4 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3211, allocations: 25.8 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3213, allocations: 83.62 kB / 436.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3214, allocations: 87.66 kB / 436.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3214, allocations: 11.94 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3216, allocations: 83.88 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.3217, allocations: 51.78 kB / 436.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.3218, allocations: 87.41 kB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.3221, allocations: 256.2 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3221, allocations: 0 / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3221, allocations: 3.938 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3222, allocations: 0 / 437 MB, free: 2.152 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.0007467/0.3229, allocations: 490.4 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3229, allocations: 11.97 kB / 437.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.323, allocations: 28.8 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.3234, allocations: 246.5 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3234, allocations: 4.375 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3235, allocations: 12.38 kB / 437.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.3238, allocations: 176.7 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3238, allocations: 7.922 kB / 438 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3239, allocations: 4 kB / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3239, allocations: 4 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.324, allocations: 43.92 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.3245, allocations: 374.2 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3248, allocations: 138.5 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3249, allocations: 59.41 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3249, allocations: 4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.3251, allocations: 75.38 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3251, allocations: 4 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004104/0.3255, allocations: 169.4 kB / 438.8 MB, free: 136 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3257, allocations: 191.9 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.326, allocations: 348.2 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3261, allocations: 34.02 kB / 439.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3262, allocations: 132.4 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3262, allocations: 19.89 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.3263, allocations: 37.66 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3264, allocations: 330.8 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.3265, allocations: 27.98 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.3266, allocations: 108.6 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3268, allocations: 101.9 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3268, allocations: 0 / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000259/0.3271, allocations: 137.4 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3271, allocations: 8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3271, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3271, allocations: 4 kB / 440.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3272, allocations: 23.92 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3272, allocations: 12.12 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.3273, allocations: 11.94 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3273, allocations: 8.297 kB / 440.3 MB, free: 14.49 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.0001519/0.3275, allocations: 162.3 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3276, allocations: 85.44 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.3279, allocations: 119.4 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3279, allocations: 4.094 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3279, allocations: 0 / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3279, allocations: 4 kB / 440.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3281, allocations: 220.6 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3281, allocations: 4 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.3282, allocations: 12 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3282, allocations: 3.938 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3282, allocations: 7.984 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3282, allocations: 0 / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3282, allocations: 0 / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3285, allocations: 195.3 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.3286, allocations: 39.73 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3286, allocations: 11.98 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3287, allocations: 4 kB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3287, allocations: 15.92 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3288, allocations: 8 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.329, allocations: 251 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3293, allocations: 39.94 kB / 441.5 MB, free: 13.23 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.001531/0.3308, allocations: 421.5 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3311, allocations: 87.89 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3311, allocations: 4 kB / 442 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3312, allocations: 20 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3316, allocations: 87.06 kB / 442.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.3323, allocations: 425 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3326, allocations: 0.7476 MB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.3327, allocations: 23.44 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3327, allocations: 4 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Templates: time 0.005629/0.3383, allocations: 3.153 MB / 446.5 MB, free: 8.367 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 7.727413292974234]