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.001465/0.001465, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 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.001553/0.001553, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 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 1.379/1.379, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 51.92 kB / 366.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.0902, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003967/0.09417, allocations: 1.884 MB / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.09623, allocations: 1.169 MB / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.09636, allocations: 7.938 kB / 421.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.09665, allocations: 55.73 kB / 421.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.09697, allocations: 95.58 kB / 421.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.09785, allocations: 262.8 kB / 421.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.09816, allocations: 167.5 kB / 422.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.09829, allocations: 29.55 kB / 422.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.09846, allocations: 79.69 kB / 422.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.0986, allocations: 83.61 kB / 422.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.09863, allocations: 12 kB / 422.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.09881, allocations: 59.95 kB / 422.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.0989, allocations: 55.77 kB / 422.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.09899, allocations: 75.42 kB / 422.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.09936, allocations: 239 kB / 422.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09936, allocations: 0 / 422.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09937, allocations: 0 / 422.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.09937, allocations: 0 / 422.7 MB, free: 8.348 MB / 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.0007738/0.1001, allocations: 0.5426 MB / 423.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1002, allocations: 12.03 kB / 423.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.1002, allocations: 4.125 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1002, allocations: 42.73 kB / 423.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1003, allocations: 20.8 kB / 423.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.1007, allocations: 295.8 kB / 423.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1008, allocations: 12.12 kB / 423.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1008, allocations: 8 kB / 423.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1011, allocations: 151.5 kB / 423.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1011, allocations: 8 kB / 423.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1011, allocations: 4 kB / 423.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1011, allocations: 0 / 423.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1013, allocations: 35.97 kB / 423.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.1018, allocations: 382.3 kB / 424.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.102, allocations: 119.9 kB / 424.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.1021, allocations: 38.56 kB / 424.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1021, allocations: 7.984 kB / 424.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1023, allocations: 83.39 kB / 424.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1023, allocations: 0 / 424.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004189/0.1027, allocations: 153.4 kB / 424.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.1028, allocations: 158.2 kB / 424.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.1032, allocations: 330.9 kB / 425.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1032, allocations: 33.7 kB / 425.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.1033, allocations: 124.1 kB / 425.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1033, allocations: 23.83 kB / 425.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.1034, allocations: 33.66 kB / 425.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1036, allocations: 330.8 kB / 425.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.1036, allocations: 23.92 kB / 425.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1038, allocations: 90.84 kB / 425.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1039, allocations: 80.22 kB / 425.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1039, allocations: 4 kB / 425.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.1042, allocations: 121.8 kB / 425.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1042, allocations: 8 kB / 426 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1042, allocations: 4 kB / 426 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1042, allocations: 4 kB / 426 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1043, allocations: 15.98 kB / 426 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1043, allocations: 7.938 kB / 426 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.1044, allocations: 12.02 kB / 426 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1044, allocations: 15.98 kB / 426 MB, free: 4.707 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.000137/0.1045, allocations: 153.8 kB / 426.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.1046, allocations: 65.55 kB / 426.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1047, allocations: 25.66 kB / 426.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1047, allocations: 11.92 kB / 426.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1047, allocations: 3.938 kB / 426.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1047, allocations: 0 / 426.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1049, allocations: 233.6 kB / 426.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1049, allocations: 4 kB / 426.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.105, allocations: 8 kB / 426.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.105, allocations: 7.984 kB / 426.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.105, allocations: 0 / 426.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.105, allocations: 4 kB / 426.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.105, allocations: 3.938 kB / 426.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1053, allocations: 162.6 kB / 426.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1054, allocations: 116.9 kB / 426.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.1054, allocations: 7.984 kB / 426.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1055, allocations: 8 kB / 426.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1055, allocations: 11.92 kB / 426.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1055, allocations: 4 kB / 426.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.1058, allocations: 237.9 kB / 427.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1058, allocations: 7.938 kB / 427.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.106, allocations: 31.98 kB / 427.1 MB, free: 3.508 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.001951/0.108, allocations: 1.023 MB / 428.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1082, allocations: 75.89 kB / 428.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1082, allocations: 0 / 428.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.1083, allocations: 27.98 kB / 428.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1087, allocations: 61.34 kB / 428.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.1113, allocations: 2.214 MB / 430.5 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1117, allocations: 0.7397 MB / 431.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.67e-05/0.1117, allocations: 29.52 kB / 431.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1118, allocations: 63.41 kB / 431.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1118, allocations: 0 / 431.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1343, allocations: 5.289 MB / 436.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.264, allocations: 9.625 kB / 436.6 MB, free: 10.11 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 10.780789505981375] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.443454931024462 8.622791725 8.52071074 Calling exit ...