Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00125/0.00125, allocations: 121 kB / 18.51 MB, free: 4.555 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.001373/0.001373, allocations: 205.6 kB / 21.45 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.5 MB / 254.8 MB, free: 15.1 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-beta.om/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_4_1_0-beta_om_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-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1064, allocations: 53.32 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004059/0.1105, allocations: 1.905 MB / 428.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1129, allocations: 1.31 MB / 430.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.113, allocations: 7.938 kB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.1133, allocations: 67.67 kB / 430.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1137, allocations: 135.4 kB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.1143, allocations: 230.7 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1146, allocations: 179.5 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1147, allocations: 17.55 kB / 430.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1148, allocations: 87.56 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1149, allocations: 83.67 kB / 431 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.115, allocations: 8 kB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1151, allocations: 67.95 kB / 431.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.1152, allocations: 59.7 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.1153, allocations: 75.48 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.1157, allocations: 239 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1157, allocations: 0 / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1157, allocations: 0 / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1157, allocations: 0 / 431.4 MB, free: 336 kB / 350.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.1965/0.3122, allocations: 0.5535 MB / 432 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3123, allocations: 9.25 kB / 432 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.3123, allocations: 38.12 kB / 432 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.3123, allocations: 23.14 kB / 432.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.3127, allocations: 289.9 kB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3128, allocations: 9.031 kB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3128, allocations: 4.094 kB / 432.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.3131, allocations: 161.2 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3131, allocations: 4.469 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3131, allocations: 3.75 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3131, allocations: 1.531 kB / 432.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3133, allocations: 40.97 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3137, allocations: 387.6 kB / 433 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3139, allocations: 113 kB / 433.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.314, allocations: 45.78 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.314, allocations: 5.156 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3142, allocations: 79.11 kB / 433.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.3142, allocations: 0 / 433.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003644/0.3145, allocations: 157 kB / 433.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3146, allocations: 162.2 kB / 433.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3149, allocations: 336.3 kB / 433.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3149, allocations: 33.86 kB / 433.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3149, allocations: 132.5 kB / 434 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.315, allocations: 23.23 kB / 434 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.315, allocations: 29.06 kB / 434 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.3151, allocations: 341.7 kB / 434.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3151, allocations: 23.75 kB / 434.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.3152, allocations: 85.67 kB / 434.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3154, allocations: 80.19 kB / 434.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3154, allocations: 3.656 kB / 434.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001963/0.3156, allocations: 130 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3156, allocations: 4.75 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3156, allocations: 0.5 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3156, allocations: 3.281 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.3157, allocations: 17.55 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3157, allocations: 6.375 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.3158, allocations: 9.25 kB / 434.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3158, allocations: 7.672 kB / 434.7 MB, free: 9.516 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 9.24e-05/0.3159, allocations: 156.6 kB / 434.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.3159, allocations: 70.81 kB / 435 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.316, allocations: 25.86 kB / 435 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.316, allocations: 2 kB / 435 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.316, allocations: 3.906 kB / 435 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.316, allocations: 2.594 kB / 435 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3161, allocations: 250 kB / 435.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3161, allocations: 0.875 kB / 435.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3162, allocations: 14.11 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3162, allocations: 2.812 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3162, allocations: 8.781 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3162, allocations: 4.594 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3162, allocations: 2.406 kB / 435.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3164, allocations: 163.7 kB / 435.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.3165, allocations: 118.9 kB / 435.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3165, allocations: 5 kB / 435.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.3166, allocations: 7.531 kB / 435.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.3166, allocations: 10.03 kB / 435.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3167, allocations: 8.094 kB / 435.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.3169, allocations: 247.3 kB / 435.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3169, allocations: 0 / 435.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3171, allocations: 37.16 kB / 435.9 MB, free: 8.855 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001676/0.3188, allocations: 1.02 MB / 436.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.319, allocations: 68.61 kB / 436.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.319, allocations: 4.062 kB / 436.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.3191, allocations: 27.91 kB / 437 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3195, allocations: 61.14 kB / 437 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.3215, allocations: 2.235 MB / 439.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3216, allocations: 0.7466 MB / 440 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.3217, allocations: 29.39 kB / 440 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3218, allocations: 58.45 kB / 440.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3218, allocations: 0 / 440.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.3513, allocations: 5.352 MB / 445.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.482, allocations: 4.109 kB / 445.5 MB, free: 5.137 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.996836951933801] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.604026687797159 8.61652291 8.498087737 Calling exit ...