Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 43.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004089/0.3073, allocations: 1.907 MB / 433.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.3098, allocations: 1.247 MB / 434.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3099, allocations: 7.938 kB / 434.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3103, allocations: 67.67 kB / 434.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.3107, allocations: 139.4 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.3115, allocations: 230.5 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.3117, allocations: 187.5 kB / 435.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3119, allocations: 25.78 kB / 435.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.312, allocations: 91.58 kB / 435.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3121, allocations: 87.61 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3122, allocations: 8 kB / 435.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3123, allocations: 71.94 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3124, allocations: 63.75 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.3125, allocations: 63.55 kB / 435.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.3129, allocations: 261.1 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3129, allocations: 0 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3129, allocations: 0 / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3129, allocations: 7.938 kB / 436 MB, free: 2.273 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.0007855/0.3137, allocations: 478.5 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3138, allocations: 16.02 kB / 436.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.3138, allocations: 24.8 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.3143, allocations: 242.5 kB / 436.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3143, allocations: 8.375 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3144, allocations: 8.125 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.3148, allocations: 203.8 kB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3148, allocations: 0 / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.3148, allocations: 8 kB / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3148, allocations: 0 / 437 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3149, allocations: 47.89 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3155, allocations: 334.8 kB / 437.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3158, allocations: 146.5 kB / 437.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3159, allocations: 59.34 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3159, allocations: 4 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.3161, allocations: 83.31 kB / 437.6 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3161, allocations: 0 / 437.6 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004564/0.3166, allocations: 181.9 kB / 437.8 MB, free: 280 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.3167, allocations: 170.2 kB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.3171, allocations: 344.2 kB / 438.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3171, allocations: 29.7 kB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3172, allocations: 132.4 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3172, allocations: 15.91 kB / 438.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.3173, allocations: 37.66 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3175, allocations: 338.8 kB / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.3176, allocations: 27.92 kB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3177, allocations: 151.1 kB / 439 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3179, allocations: 102 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3179, allocations: 0 / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.3182, allocations: 149.3 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3183, allocations: 8.188 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3183, allocations: 4 kB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3183, allocations: 0 / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3184, allocations: 23.98 kB / 439.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3184, allocations: 3.938 kB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.624e-05/0.3185, allocations: 7.938 kB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3185, allocations: 12 kB / 439.3 MB, free: 14.61 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.0001606/0.3187, allocations: 153.8 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3188, allocations: 89.5 kB / 439.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.3191, allocations: 135.4 kB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3191, allocations: 4 kB / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3191, allocations: 0 / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3191, allocations: 0 / 439.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.3193, allocations: 185.1 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3193, allocations: 0 / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.3194, allocations: 19.98 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3194, allocations: 4 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3194, allocations: 4.125 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3194, allocations: 8.031 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3194, allocations: 0 / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3198, allocations: 195.4 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3199, allocations: 39.77 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3199, allocations: 8 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.32, allocations: 4 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.32, allocations: 11.98 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3201, allocations: 7.984 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.3203, allocations: 251.1 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3203, allocations: 0 / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.3206, allocations: 43.92 kB / 440.5 MB, free: 13.39 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 (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.001697/0.3223, allocations: 462.7 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3226, allocations: 83.84 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3226, allocations: 0 / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.3227, allocations: 31.92 kB / 441 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.3232, allocations: 82.06 kB / 441.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.3239, allocations: 398.7 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3241, allocations: 140.2 kB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.3242, allocations: 33.77 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.3242, allocations: 19.44 kB / 441.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3242, allocations: 4 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Templates: time 0.008418/0.3327, allocations: 3.438 MB / 445.1 MB, free: 8.891 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.706339647062123]