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.001302/0.001302, allocations: 116 kB / 18.45 MB, free: 4.605 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.001417/0.001417, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.00239/0.00239, allocations: 47.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1315, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003669/0.1351, allocations: 1.936 MB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.1377, allocations: 1.325 MB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1379, allocations: 11.94 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.1383, allocations: 67.67 kB / 430.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.1387, allocations: 131.4 kB / 430.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.1394, allocations: 243 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.1397, allocations: 195.5 kB / 431.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1398, allocations: 21.67 kB / 431.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1399, allocations: 83.62 kB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1401, allocations: 91.59 kB / 431.6 MB, free: 184 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1401, allocations: 8 kB / 431.6 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1403, allocations: 71.95 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.1404, allocations: 59.7 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2651/0.4054, allocations: 75.14 kB / 431.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008842/0.4063, allocations: 251.7 kB / 432 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4063, allocations: 1.703 kB / 432 MB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4063, allocations: 0.9062 kB / 432 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.4063, allocations: 0 / 432 MB, free: 8.297 MB / 350.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.00127/0.4076, allocations: 0.5562 MB / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.4077, allocations: 9.625 kB / 432.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4078, allocations: 25.08 kB / 432.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.4086, allocations: 309.1 kB / 432.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.4087, allocations: 8.781 kB / 432.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.4087, allocations: 8.594 kB / 432.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.4093, allocations: 180.9 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4093, allocations: 1.781 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.4093, allocations: 1.531 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4093, allocations: 1.5 kB / 433.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4096, allocations: 45.64 kB / 433.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.4104, allocations: 401.6 kB / 433.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.4108, allocations: 140.5 kB / 433.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.411, allocations: 57.14 kB / 433.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.411, allocations: 6.875 kB / 433.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4112, allocations: 77.08 kB / 433.8 MB, free: 7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 3.376e-06/0.4112, allocations: 0 / 433.8 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007067/0.4119, allocations: 172.2 kB / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.412, allocations: 190 kB / 434.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.4126, allocations: 347 kB / 434.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4127, allocations: 30.8 kB / 434.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.954e-05/0.4128, allocations: 134.1 kB / 434.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4128, allocations: 16.12 kB / 434.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.4129, allocations: 40.44 kB / 434.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.413, allocations: 339.1 kB / 435.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4131, allocations: 22.94 kB / 435.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.4133, allocations: 101.1 kB / 435.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.4135, allocations: 108.8 kB / 435.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4135, allocations: 3.625 kB / 435.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004493/0.414, allocations: 146.5 kB / 435.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.414, allocations: 6.25 kB / 435.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.414, allocations: 2.188 kB / 435.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.414, allocations: 2.375 kB / 435.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.4142, allocations: 20.33 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4142, allocations: 2.25 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.4144, allocations: 9.594 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.4144, allocations: 4.688 kB / 435.5 MB, free: 5.98 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.000193/0.4146, allocations: 168.4 kB / 435.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.4148, allocations: 83.27 kB / 435.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.4149, allocations: 28.16 kB / 435.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4149, allocations: 5.438 kB / 435.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4149, allocations: 3.062 kB / 435.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4149, allocations: 5.062 kB / 435.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.4152, allocations: 254 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4152, allocations: 0 / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4153, allocations: 16.73 kB / 436 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4153, allocations: 9.062 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4154, allocations: 3.438 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4154, allocations: 1.469 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4154, allocations: 1.406 kB / 436 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.4158, allocations: 189 kB / 436.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.416, allocations: 120 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.4161, allocations: 3.062 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4162, allocations: 7.266 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.4163, allocations: 14.08 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.4163, allocations: 5.406 kB / 436.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004146/0.4167, allocations: 251.8 kB / 436.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4167, allocations: 3.938 kB / 436.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.4173, allocations: 43.66 kB / 436.7 MB, free: 5.301 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.002378/0.4197, allocations: 428.1 kB / 437.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.4201, allocations: 77.09 kB / 437.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4201, allocations: 1.406 kB / 437.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4202, allocations: 24.09 kB / 437.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.4211, allocations: 82.38 kB / 437.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4222, allocations: 429.7 kB / 437.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4224, allocations: 0.7449 MB / 438.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.4225, allocations: 28.25 kB / 438.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4225, allocations: 0 / 438.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of Templates: time 0.0114/0.4339, allocations: 3.169 MB / 441.6 MB, free: 3.863 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/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_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: 7.817124237015378]