Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001777/0.001777, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002248/0.002248, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 63.89 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2845, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00508/0.2896, allocations: 1.909 MB / 433.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.2929, allocations: 1.332 MB / 434.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.2931, allocations: 7.938 kB / 434.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.2936, allocations: 63.66 kB / 434.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.2941, allocations: 135.4 kB / 434.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2952, allocations: 234.8 kB / 434.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.2956, allocations: 183.5 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2958, allocations: 21.73 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2959, allocations: 79.69 kB / 435.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2961, allocations: 87.55 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.2962, allocations: 12 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2964, allocations: 67.95 kB / 435.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2965, allocations: 59.81 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2967, allocations: 71.5 kB / 435.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.2972, allocations: 251.3 kB / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2972, allocations: 0 / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2972, allocations: 7.938 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2972, allocations: 0 / 435.7 MB, free: 2.195 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.001001/0.2982, allocations: 470.5 kB / 436.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.2982, allocations: 8.031 kB / 436.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.2983, allocations: 42.73 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.2984, allocations: 32.8 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.299, allocations: 233.4 kB / 436.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.299, allocations: 8.375 kB / 436.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.299, allocations: 4.375 kB / 436.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.2996, allocations: 163.7 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2996, allocations: 0 / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.2996, allocations: 4 kB / 436.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2996, allocations: 4 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.2997, allocations: 31.92 kB / 436.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.3005, allocations: 369.3 kB / 437 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.3008, allocations: 115.9 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.301, allocations: 46.56 kB / 437.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.301, allocations: 0 / 437.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.3012, allocations: 83.31 kB / 437.3 MB, free: 428 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.3012, allocations: 0 / 437.3 MB, free: 428 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005627/0.3018, allocations: 153.7 kB / 437.4 MB, free: 268 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.3019, allocations: 162.2 kB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.3025, allocations: 329.9 kB / 437.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3025, allocations: 33.7 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3027, allocations: 128.1 kB / 438 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.3027, allocations: 15.91 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.3028, allocations: 33.7 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.303, allocations: 338.8 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3031, allocations: 23.98 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.3033, allocations: 90.78 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3036, allocations: 84.22 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3036, allocations: 3.938 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003914/0.304, allocations: 129.7 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.304, allocations: 10.48 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.304, allocations: 0 / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.304, allocations: 4.125 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3042, allocations: 20 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3042, allocations: 4 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3043, allocations: 11.92 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3043, allocations: 4 kB / 438.8 MB, free: 14.75 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,superSample1.y,superSample1.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.0002172/0.3045, allocations: 158.5 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3047, allocations: 69.5 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.3051, allocations: 123.4 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3051, allocations: 7.984 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3051, allocations: 3.938 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3051, allocations: 0 / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.3054, allocations: 216.7 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3054, allocations: 4 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.3055, allocations: 11.98 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.3055, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3055, allocations: 4 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3055, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3055, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.3059, allocations: 170.5 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.306, allocations: 35.84 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.3061, allocations: 7.984 kB / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3061, allocations: 0 / 439.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.3062, allocations: 16.05 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3062, allocations: 12 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003746/0.3066, allocations: 249.2 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3066, allocations: 0 / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000462/0.3071, allocations: 39.88 kB / 439.9 MB, free: 13.56 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,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 (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.002817/0.3099, allocations: 1.012 MB / 440.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.3103, allocations: 71.84 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3103, allocations: 0 / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3104, allocations: 31.92 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.3111, allocations: 73.56 kB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.3151, allocations: 2.231 MB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.3155, allocations: 0.7437 MB / 444.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3157, allocations: 33.45 kB / 444.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3158, allocations: 55.42 kB / 444.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3158, allocations: 0 / 444.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.3515, allocations: 5.492 MB / 449.6 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.48, allocations: 3.438 kB / 449.7 MB, free: 3.832 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.234760895000363]