Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001363/0.001363, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001831/0.001831, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.789 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 55.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003939/0.3223, allocations: 1.886 MB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3245, allocations: 1.149 MB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3247, allocations: 7.938 kB / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.3253, allocations: 147.5 kB / 434.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.3258, allocations: 159.4 kB / 434.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.3264, allocations: 178.8 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.3267, allocations: 195.4 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3268, allocations: 29.52 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.327, allocations: 71.7 kB / 434.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.3272, allocations: 79.56 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3272, allocations: 8 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.3273, allocations: 63.94 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.3274, allocations: 43.84 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.3275, allocations: 51.67 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.3279, allocations: 213 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3279, allocations: 0 / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3279, allocations: 0 / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3279, allocations: 0 / 435.4 MB, free: 2.184 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.0009168/0.3288, allocations: 450.7 kB / 435.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3289, allocations: 11.98 kB / 435.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.3289, allocations: 46.67 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.329, allocations: 20.8 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.3294, allocations: 221.1 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3294, allocations: 4.375 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3294, allocations: 8.375 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.3298, allocations: 138 kB / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3298, allocations: 0 / 436.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3298, allocations: 4 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3298, allocations: 0 / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3299, allocations: 47.91 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.3305, allocations: 329.4 kB / 436.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3307, allocations: 103.9 kB / 436.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.3308, allocations: 42.56 kB / 436.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3308, allocations: 4 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3309, allocations: 67.39 kB / 436.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3309, allocations: 4 kB / 436.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003763/0.3313, allocations: 153.4 kB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3314, allocations: 110.8 kB / 437.1 MB, free: 240 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.3317, allocations: 269.1 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3317, allocations: 25.7 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.3318, allocations: 120.1 kB / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.3319, allocations: 15.89 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3319, allocations: 37.66 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3321, allocations: 330.8 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.3322, allocations: 24.23 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3323, allocations: 98.91 kB / 438 MB, free: 15.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.3324, allocations: 84.22 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3324, allocations: 3.938 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002151/0.3326, allocations: 113.5 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3327, allocations: 8.156 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3327, allocations: 4 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3327, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.3328, allocations: 19.92 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3328, allocations: 0 / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.3328, allocations: 15.89 kB / 438.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3329, allocations: 4 kB / 438.3 MB, free: 15.01 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,sample1.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 (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.0001394/0.333, allocations: 142.5 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.3331, allocations: 65.53 kB / 438.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.3333, allocations: 127.4 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3333, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3333, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3334, allocations: 4 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.3336, allocations: 196.6 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3336, allocations: 0 / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.3336, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.3336, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3336, allocations: 0 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3336, allocations: 0 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3336, allocations: 8.062 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.3339, allocations: 170.6 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.334, allocations: 31.78 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.334, allocations: 8 kB / 439 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.769e-05/0.3341, allocations: 3.984 kB / 439 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.3341, allocations: 4 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3341, allocations: 7.984 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.3343, allocations: 204.5 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3343, allocations: 0 / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3346, allocations: 27.94 kB / 439.3 MB, free: 13.93 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,sample1.u,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.00215/0.3367, allocations: 1.039 MB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.337, allocations: 71.91 kB / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.337, allocations: 0 / 440.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.337, allocations: 27.92 kB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3375, allocations: 74.78 kB / 440.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3405, allocations: 1.973 MB / 442.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.3407, allocations: 119.5 kB / 442.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3408, allocations: 25.62 kB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3409, allocations: 51.42 kB / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3409, allocations: 0 / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.3839, allocations: 5.403 MB / 448 MB, free: 5.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.36, allocations: 0 / 448 MB, free: 5.188 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.043499703984708]