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.001775/0.001775, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 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.002204/0.002204, allocations: 213.9 kB / 23.74 MB, free: 4.535 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001522/0.001522, allocations: 55.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003642/0.2998, allocations: 1.917 MB / 433.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3021, allocations: 1.321 MB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.3023, allocations: 7.938 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.3026, allocations: 67.67 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.303, allocations: 131.4 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.3037, allocations: 234.8 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.304, allocations: 183.5 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3041, allocations: 17.75 kB / 435 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3042, allocations: 83.62 kB / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3044, allocations: 91.59 kB / 435.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3044, allocations: 8 kB / 435.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3046, allocations: 79.89 kB / 435.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.3047, allocations: 55.77 kB / 435.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.3048, allocations: 79.42 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.3052, allocations: 244.6 kB / 435.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3052, allocations: 0 / 435.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3052, allocations: 0 / 435.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3052, allocations: 0 / 435.6 MB, free: 2.336 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.0008088/0.306, allocations: 478.5 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.306, allocations: 12.03 kB / 436.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.3061, allocations: 38.75 kB / 436.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.3061, allocations: 28.8 kB / 436.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.3066, allocations: 229.5 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3066, allocations: 4.375 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3066, allocations: 11.94 kB / 436.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.307, allocations: 163.5 kB / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.307, allocations: 0 / 436.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.307, allocations: 3.984 kB / 436.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.307, allocations: 7.984 kB / 436.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3072, allocations: 27.98 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.3078, allocations: 369.3 kB / 437 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.3081, allocations: 111.9 kB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.3083, allocations: 46.56 kB / 437.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.3083, allocations: 7.984 kB / 437.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3085, allocations: 71.33 kB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3085, allocations: 0 / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004124/0.3089, allocations: 161.4 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.309, allocations: 154.2 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.3094, allocations: 345.7 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3095, allocations: 29.7 kB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3096, allocations: 128.1 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3096, allocations: 19.89 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.3097, allocations: 25.97 kB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3098, allocations: 342.8 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.3099, allocations: 23.98 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.31, allocations: 86.78 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3102, allocations: 84.47 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3102, allocations: 0 / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002403/0.3104, allocations: 133.4 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3104, allocations: 4 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3104, allocations: 0 / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3105, allocations: 8.125 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3106, allocations: 19.98 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3106, allocations: 3.938 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.3106, allocations: 11.88 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3107, allocations: 8 kB / 438.8 MB, free: 14.89 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.0001646/0.3108, allocations: 157.8 kB / 438.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.3109, allocations: 69.45 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3112, allocations: 123.4 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3112, allocations: 4 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3112, allocations: 0 / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3112, allocations: 3.938 kB / 439.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3114, allocations: 212.7 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3114, allocations: 4 kB / 439.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.3115, allocations: 8 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3115, allocations: 0 / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3115, allocations: 7.984 kB / 439.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3115, allocations: 3.938 kB / 439.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3115, allocations: 4 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.3119, allocations: 170.5 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.312, allocations: 31.84 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.312, allocations: 4.125 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.3121, allocations: 12 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3121, allocations: 15.92 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3121, allocations: 11.98 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.3124, allocations: 241.2 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3124, allocations: 0 / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3127, allocations: 35.94 kB / 439.9 MB, free: 13.7 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.002048/0.3147, allocations: 1.022 MB / 440.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.315, allocations: 75.83 kB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.315, allocations: 0 / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.3151, allocations: 36.09 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3155, allocations: 66.77 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.3186, allocations: 2.23 MB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.3191, allocations: 0.7437 MB / 444 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3192, allocations: 29.47 kB / 444.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3193, allocations: 63.41 kB / 444.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3193, allocations: 3.938 kB / 444.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.3547, allocations: 5.492 MB / 449.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.56, allocations: 4.344 kB / 449.6 MB, free: 4 MB / 350.1 MB " [Timeout remaining time 648] (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/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_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: 14.243446604999917]