Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.002096/0.002096, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.003284/0.003284, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.711/1.711, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 51.92 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.346, allocations: 53.36 MB / 431.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004054/0.3501, allocations: 1.924 MB / 433.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3527, allocations: 1.317 MB / 434.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3528, allocations: 3.938 kB / 434.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.3532, allocations: 71.66 kB / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004114/0.3536, allocations: 131.4 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.3544, allocations: 233.5 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.3547, allocations: 179.5 kB / 435.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3548, allocations: 21.73 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.355, allocations: 83.62 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3551, allocations: 87.61 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.3551, allocations: 8 kB / 435.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3553, allocations: 67.95 kB / 435.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.3554, allocations: 59.75 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3556, allocations: 79.48 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.356, allocations: 248.3 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.356, allocations: 0 / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.356, allocations: 0 / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.356, allocations: 0 / 436.1 MB, free: 2.434 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.000918/0.3569, allocations: 482.4 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.357, allocations: 8.031 kB / 436.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.3571, allocations: 28.8 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.3576, allocations: 229.5 kB / 436.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3576, allocations: 8.375 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.3576, allocations: 12.11 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.358, allocations: 155.5 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3581, allocations: 3.984 kB / 437 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3581, allocations: 4 kB / 437 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3581, allocations: 4 kB / 437 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3582, allocations: 27.98 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.3589, allocations: 365.4 kB / 437.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.3592, allocations: 107.9 kB / 437.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.3592, allocations: 46.55 kB / 437.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3593, allocations: 4 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3595, allocations: 83.33 kB / 437.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3595, allocations: 0 / 437.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004519/0.3599, allocations: 153.4 kB / 437.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.3601, allocations: 166.4 kB / 438 MB, free: 364 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.3605, allocations: 337.8 kB / 438.3 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.3605, allocations: 33.7 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3606, allocations: 124.1 kB / 438.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.3607, allocations: 19.89 kB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.3607, allocations: 29.72 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3609, allocations: 338.7 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.361, allocations: 27.98 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3611, allocations: 98.72 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3613, allocations: 84.22 kB / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3613, allocations: 0 / 439 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.3615, allocations: 129.4 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3615, allocations: 4 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3615, allocations: 0 / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3616, allocations: 4 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3617, allocations: 16.03 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3617, allocations: 12.06 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.3618, allocations: 11.92 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3618, allocations: 4 kB / 439.2 MB, free: 15.03 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.0001603/0.3619, allocations: 162.5 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.362, allocations: 73.44 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.3623, allocations: 111.4 kB / 439.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3623, allocations: 4.375 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3623, allocations: 4.062 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3623, allocations: 3.938 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3626, allocations: 220.7 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.3626, allocations: 4 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.3626, allocations: 11.94 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3626, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3626, allocations: 7.984 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3626, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3626, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.3629, allocations: 170.5 kB / 440 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.363, allocations: 35.84 kB / 440 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3631, allocations: 4 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.3631, allocations: 7.984 kB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.3632, allocations: 4 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3632, allocations: 11.92 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.3635, allocations: 253.2 kB / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3635, allocations: 0 / 440.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.3638, allocations: 39.92 kB / 440.3 MB, free: 13.84 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 (9): * Single equations (assignments): 7 * 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.001636/0.3654, allocations: 418.1 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3657, allocations: 83.83 kB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3657, allocations: 256 / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.3658, allocations: 27.98 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.3663, allocations: 68.48 kB / 440.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.367, allocations: 372.8 kB / 441.3 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3674, allocations: 0.7439 MB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.928e-05/0.3675, allocations: 37.44 kB / 442 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.3675, allocations: 19.44 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3675, allocations: 0 / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Templates: time 0.008313/0.3759, allocations: 2.94 MB / 445 MB, free: 9.262 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.175652662059292]