Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.0009033/0.0009033, allocations: 79.7 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.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.001/0.001, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8645/0.8645, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.735e-05, allocations: 6.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002177/0.002194, allocations: 1.869 MB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.003492, allocations: 1.246 MB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.003595, allocations: 7.938 kB / 327.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.003886, allocations: 63.61 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.004169, allocations: 139.3 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.004612, allocations: 232.3 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004801, allocations: 187.4 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.004898, allocations: 21.78 kB / 328.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.005013, allocations: 99.67 kB / 328.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.005106, allocations: 71.78 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.005124, allocations: 8 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.005243, allocations: 75.88 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.00531, allocations: 51.84 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.005358, allocations: 39.8 kB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.005612, allocations: 247.1 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005615, allocations: 0 / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.005616, allocations: 4 kB / 328.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005621, allocations: 0 / 328.9 MB, free: 11.57 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005344/0.006155, allocations: 477.8 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.006193, allocations: 8.031 kB / 329.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.006225, allocations: 38.75 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.006263, allocations: 24.8 kB / 329.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.006547, allocations: 236.6 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.006562, allocations: 8.375 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.006574, allocations: 8.375 kB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.006851, allocations: 180.5 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.006858, allocations: 0 / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.00687, allocations: 4 kB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006875, allocations: 4 kB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.006955, allocations: 39.92 kB / 329.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.00734, allocations: 341.5 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.007497, allocations: 123.9 kB / 330.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.00755, allocations: 50.5 kB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.007567, allocations: 0 / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.007698, allocations: 79.38 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.007699, allocations: 0 / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004733/0.008173, allocations: 153.4 kB / 330.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.008236, allocations: 148.6 kB / 330.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.00847, allocations: 333.9 kB / 331.1 MB, free: 9.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.008484, allocations: 29.7 kB / 331.1 MB, free: 9.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.008549, allocations: 132.1 kB / 331.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.00857, allocations: 19.97 kB / 331.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.008604, allocations: 25.7 kB / 331.3 MB, free: 8.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.008688, allocations: 334.8 kB / 331.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.008731, allocations: 23.98 kB / 331.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.008802, allocations: 118.8 kB / 331.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.838e-05/0.00889, allocations: 65.92 kB / 331.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.008893, allocations: 0 / 331.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001254/0.009018, allocations: 105.5 kB / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.009032, allocations: 8 kB / 332 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009037, allocations: 0 / 332 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.009051, allocations: 3.938 kB / 332 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.009128, allocations: 19.92 kB / 332 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.009134, allocations: 0 / 332 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.009176, allocations: 7.938 kB / 332 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.009183, allocations: 4 kB / 332 MB, free: 8.18 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 0.0001019/0.009285, allocations: 158.8 kB / 332.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.009343, allocations: 65.5 kB / 332.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.009526, allocations: 127.4 kB / 332.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009529, allocations: 4 kB / 332.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.009534, allocations: 0 / 332.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.009539, allocations: 0 / 332.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.009691, allocations: 208.6 kB / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009693, allocations: 0 / 332.5 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.009744, allocations: 19.98 kB / 332.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009747, allocations: 4 kB / 332.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.009757, allocations: 4 kB / 332.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.00976, allocations: 4 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009762, allocations: 0 / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.009928, allocations: 174.5 kB / 332.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.009982, allocations: 35.84 kB / 332.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01, allocations: 8.062 kB / 332.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.01004, allocations: 7.984 kB / 332.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01008, allocations: 8.094 kB / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.0101, allocations: 15.92 kB / 332.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.01025, allocations: 245.2 kB / 333.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01025, allocations: 0 / 333.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.01042, allocations: 35.92 kB / 333.1 MB, free: 7 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.0009645/0.01138, allocations: 1.053 MB / 334.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01153, allocations: 75.89 kB / 334.2 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01153, allocations: 0 / 334.2 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.01158, allocations: 35.98 kB / 334.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.01185, allocations: 59.53 kB / 334.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.01394, allocations: 2.18 MB / 336.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01405, allocations: 132.1 kB / 336.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.08e-05/0.01414, allocations: 29.62 kB / 336.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.01423, allocations: 64.47 kB / 336.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01423, allocations: 0 / 336.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.03345, allocations: 6.164 MB / 342.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.383, allocations: 15.55 kB / 342.9 MB, free: 13.29 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.15090161561966]