Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8451/0.8451, allocations: 173.4 MB / 200.5 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.18e-05, allocations: 3.688 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002027/0.002038, allocations: 1.84 MB / 320.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003139, allocations: 1.098 MB / 321.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.003227, allocations: 7.875 kB / 321.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.003488, allocations: 75.59 kB / 321.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.003701, allocations: 91.53 kB / 321.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.00412, allocations: 270 kB / 321.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.00429, allocations: 179.4 kB / 322 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.545e-05/0.004375, allocations: 21.8 kB / 322 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.004471, allocations: 95.72 kB / 322.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.004554, allocations: 71.8 kB / 322.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.004577, allocations: 8 kB / 322.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.004684, allocations: 71.88 kB / 322.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.004746, allocations: 55.77 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.004789, allocations: 35.86 kB / 322.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005014, allocations: 239.1 kB / 322.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005017, allocations: 4 kB / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005018, allocations: 0 / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005022, allocations: 0 / 322.6 MB, free: 2.191 MB / 282.7 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.0004657/0.005487, allocations: 466.7 kB / 323 MB, free: 1.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.005519, allocations: 16.86 kB / 323 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.005548, allocations: 34.75 kB / 323.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.005588, allocations: 28.75 kB / 323.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.005825, allocations: 228.7 kB / 323.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.005837, allocations: 4.375 kB / 323.3 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.005849, allocations: 8.375 kB / 323.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.006086, allocations: 184.5 kB / 323.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.006093, allocations: 0 / 323.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.006103, allocations: 0 / 323.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006108, allocations: 4 kB / 323.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.006179, allocations: 39.91 kB / 323.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.006584, allocations: 337.5 kB / 323.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.00673, allocations: 115.9 kB / 324 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.006781, allocations: 50.5 kB / 324.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.006798, allocations: 4 kB / 324.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.006912, allocations: 79.38 kB / 324.1 MB, free: 436 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.006914, allocations: 0 / 324.1 MB, free: 436 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000239/0.007153, allocations: 157.4 kB / 324.3 MB, free: 272 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.007204, allocations: 132.5 kB / 324.4 MB, free: 108 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.007423, allocations: 330.1 kB / 324.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.007436, allocations: 29.7 kB / 324.8 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.007501, allocations: 128.1 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.007519, allocations: 23.83 kB / 324.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.007554, allocations: 29.7 kB / 324.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.007627, allocations: 338.7 kB / 325.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.007665, allocations: 23.92 kB / 325.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.007729, allocations: 114.8 kB / 325.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.712e-05/0.007806, allocations: 65.89 kB / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007808, allocations: 0 / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001124/0.00792, allocations: 101.6 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007931, allocations: 8 kB / 325.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007935, allocations: 0 / 325.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.007944, allocations: 0 / 325.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.008004, allocations: 23.92 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.008008, allocations: 0 / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.008045, allocations: 7.953 kB / 325.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.00805, allocations: 0 / 325.6 MB, free: 14.84 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 8.101e-05/0.008131, allocations: 153.8 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.008179, allocations: 69.53 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.008335, allocations: 127.6 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008336, allocations: 0 / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008341, allocations: 4 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.008346, allocations: 3.984 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.008469, allocations: 200.6 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00847, allocations: 0 / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.008508, allocations: 19.92 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.00851, allocations: 0 / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.008519, allocations: 8 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.00852, allocations: 4.062 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008521, allocations: 0 / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.008662, allocations: 170.5 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.008713, allocations: 47.77 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.008731, allocations: 0 / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.008761, allocations: 8.062 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.008797, allocations: 11.98 kB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.00881, allocations: 4 kB / 326.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.008952, allocations: 245.2 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008952, allocations: 0 / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.009112, allocations: 35.94 kB / 326.7 MB, free: 13.66 MB / 298.7 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,superSample1.y,sample1.y,superSample1.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.0008748/0.009987, allocations: 1.046 MB / 327.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.01011, allocations: 63.91 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01012, allocations: 0 / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.675e-05/0.01016, allocations: 35.91 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.0104, allocations: 79.41 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.01191, allocations: 2.151 MB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.01198, allocations: 123.9 kB / 330.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.233e-05/0.01204, allocations: 29.62 kB / 330.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.01211, allocations: 60.47 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01211, allocations: 0 / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02823, allocations: 6.053 MB / 336.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.142, allocations: 20.45 kB / 336.4 MB, free: 4.105 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.848426952026784]