Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001434/0.001434, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.00108/0.00108, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8963/0.8963, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.379e-05, allocations: 7.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002776/0.002799, allocations: 1.908 MB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.004538, allocations: 1.243 MB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.004896, allocations: 7.938 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.005222, allocations: 71.53 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.005562, allocations: 139.3 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.006195, allocations: 241.9 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.006435, allocations: 191.4 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.006556, allocations: 21.8 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.006692, allocations: 111.7 kB / 328.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.00681, allocations: 75.78 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.006833, allocations: 8 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.006993, allocations: 79.81 kB / 328.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.007075, allocations: 51.84 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.007141, allocations: 47.78 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.007443, allocations: 255.1 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.007446, allocations: 4 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007448, allocations: 0 / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.007453, allocations: 0 / 328.9 MB, free: 11.43 MB / 298.7 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.0005715/0.008024, allocations: 482.4 kB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.008066, allocations: 19.97 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.008097, allocations: 34.75 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.008149, allocations: 24.8 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.008499, allocations: 245.8 kB / 329.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.008515, allocations: 8.375 kB / 329.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.008529, allocations: 4.375 kB / 329.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.008845, allocations: 211.4 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.008854, allocations: 4.125 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.008867, allocations: 8.125 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.008873, allocations: 8 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.008959, allocations: 43.91 kB / 330 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.009369, allocations: 346.4 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.00955, allocations: 138.5 kB / 330.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.009616, allocations: 63.34 kB / 330.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.009641, allocations: 8 kB / 330.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.009778, allocations: 83.38 kB / 330.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.00978, allocations: 0 / 330.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002994/0.01008, allocations: 177.3 kB / 330.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.01015, allocations: 166.2 kB / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.0104, allocations: 344.2 kB / 331.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.01042, allocations: 37.64 kB / 331.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.01049, allocations: 128.4 kB / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.01051, allocations: 16.22 kB / 331.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.01055, allocations: 37.66 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.01063, allocations: 330.8 kB / 331.8 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.01067, allocations: 23.98 kB / 331.9 MB, free: 8.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.01074, allocations: 114.8 kB / 332 MB, free: 8.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.465e-05/0.01083, allocations: 61.58 kB / 332 MB, free: 8.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01083, allocations: 0 / 332 MB, free: 8.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001218/0.01095, allocations: 109.5 kB / 332.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01097, allocations: 4 kB / 332.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01097, allocations: 4.062 kB / 332.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01098, allocations: 0 / 332.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.01106, allocations: 19.92 kB / 332.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01106, allocations: 160 / 332.2 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.01111, allocations: 8 kB / 332.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01112, allocations: 7.938 kB / 332.2 MB, free: 7.848 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.57e-05/0.01121, allocations: 150.6 kB / 332.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.01128, allocations: 81.48 kB / 332.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.01147, allocations: 131.5 kB / 332.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01147, allocations: 3.984 kB / 332.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01148, allocations: 320 / 332.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01148, allocations: 4 kB / 332.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.01163, allocations: 216.6 kB / 332.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01163, allocations: 3.938 kB / 332.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.01168, allocations: 15.98 kB / 332.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01168, allocations: 4 kB / 332.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01169, allocations: 0 / 332.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.01169, allocations: 4 kB / 332.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01169, allocations: 3.984 kB / 332.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.01187, allocations: 195.4 kB / 333 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.01193, allocations: 47.72 kB / 333 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01195, allocations: 4 kB / 333 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.01199, allocations: 7.984 kB / 333 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01203, allocations: 11.98 kB / 333.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.01205, allocations: 4 kB / 333.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.01221, allocations: 259 kB / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01221, allocations: 0 / 333.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.0124, allocations: 27.95 kB / 333.3 MB, free: 6.602 MB / 298.7 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.001028/0.01343, allocations: 1.074 MB / 334.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.01359, allocations: 67.89 kB / 334.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01359, allocations: 0 / 334.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.01364, allocations: 31.98 kB / 334.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.01393, allocations: 80.5 kB / 334.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.01579, allocations: 2.235 MB / 336.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.01589, allocations: 132.2 kB / 337 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.01597, allocations: 37.77 kB / 337 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.01605, allocations: 60.48 kB / 337.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01605, allocations: 0 / 337.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.03681, allocations: 6.542 MB / 343.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/6.897, allocations: 0 / 343.6 MB, free: 12.38 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79104e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.IntegerSignals.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.72535506915301]