Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001503/0.001503, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001439/0.001439, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.777 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3088, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003995/0.3128, allocations: 1.88 MB / 434.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3153, allocations: 1.215 MB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.3154, allocations: 3.938 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.3158, allocations: 75.64 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.3162, allocations: 135.4 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.3169, allocations: 222.6 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.3172, allocations: 179.5 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3174, allocations: 24.62 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3175, allocations: 75.64 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3177, allocations: 87.66 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.3177, allocations: 8 kB / 436.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3179, allocations: 83.81 kB / 436.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.318, allocations: 51.84 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.3181, allocations: 51.55 kB / 436.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.3185, allocations: 250.7 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3185, allocations: 3.938 kB / 436.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3185, allocations: 0 / 436.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3186, allocations: 0 / 436.7 MB, free: 2.156 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008695/0.3194, allocations: 482.4 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3195, allocations: 15.98 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.3195, allocations: 24.8 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.32, allocations: 229.5 kB / 437.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3201, allocations: 8.375 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3201, allocations: 4.375 kB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.3205, allocations: 176.7 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3205, allocations: 4 kB / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3205, allocations: 0 / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3205, allocations: 4 kB / 437.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3206, allocations: 47.89 kB / 437.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.3212, allocations: 314.1 kB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3214, allocations: 111.9 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.3215, allocations: 46.55 kB / 438.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3216, allocations: 11.94 kB / 438.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3217, allocations: 79.38 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3217, allocations: 0 / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004111/0.3221, allocations: 157.4 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.3222, allocations: 132.5 kB / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.3227, allocations: 337.9 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3227, allocations: 29.7 kB / 438.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3228, allocations: 132.1 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3228, allocations: 20.03 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.3229, allocations: 37.7 kB / 439.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.323, allocations: 338.8 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.3231, allocations: 23.98 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3233, allocations: 133.4 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3234, allocations: 88.45 kB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3234, allocations: 0 / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002512/0.3237, allocations: 137.4 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3237, allocations: 10.66 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3237, allocations: 0 / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3237, allocations: 4 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3238, allocations: 15.98 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3238, allocations: 7.938 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.3239, allocations: 11.94 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3239, allocations: 7.984 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,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 (11): * Single equations (assignments): 11 * 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.0001614/0.3241, allocations: 150.6 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.3242, allocations: 77.44 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.3245, allocations: 123.4 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3245, allocations: 0 / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3245, allocations: 0 / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3245, allocations: 7.984 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3247, allocations: 177.1 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3247, allocations: 0 / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.3248, allocations: 19.92 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3248, allocations: 4.062 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3248, allocations: 4 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.3248, allocations: 4 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3248, allocations: 0 / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3251, allocations: 174.5 kB / 440.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3252, allocations: 39.77 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3252, allocations: 8.062 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.3253, allocations: 8 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3253, allocations: 7.984 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3254, allocations: 11.98 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3256, allocations: 245.2 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3256, allocations: 0 / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3259, allocations: 35.94 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.001666/0.3275, allocations: 441.1 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.3278, allocations: 87.77 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3278, allocations: 0 / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.79e-05/0.3279, allocations: 28.23 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.3283, allocations: 79.02 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.3291, allocations: 410.6 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.3292, allocations: 123.9 kB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.3293, allocations: 27.42 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3293, allocations: 4.188 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Templates: time 0.00558/0.3349, allocations: 3.039 MB / 445.1 MB, free: 9.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.397568020969629]