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.001314/0.001314, allocations: 121 kB / 18.5 MB, free: 4.562 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.001357/0.001357, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.433/1.433, allocations: 230.6 MB / 254.8 MB, free: 15.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.92 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 53.33 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003556/0.1114, allocations: 1.911 MB / 428.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.114, allocations: 1.305 MB / 430.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1141, allocations: 7.938 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1145, allocations: 71.66 kB / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.1149, allocations: 131.4 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.1156, allocations: 230.8 kB / 430.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1159, allocations: 179.5 kB / 430.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.116, allocations: 17.56 kB / 430.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1161, allocations: 87.62 kB / 430.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1162, allocations: 87.66 kB / 431 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1163, allocations: 11.94 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1164, allocations: 63.97 kB / 431.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.1165, allocations: 59.75 kB / 431.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.517e-05/0.1166, allocations: 75.48 kB / 431.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1169, allocations: 238.9 kB / 431.5 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1169, allocations: 0 / 431.5 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1169, allocations: 4 kB / 431.5 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.117, allocations: 0 / 431.5 MB, free: 360 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.0008163/0.1178, allocations: 0.5504 MB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1178, allocations: 8.031 kB / 432 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.1178, allocations: 4.188 kB / 432 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.855e-05/0.1179, allocations: 34.75 kB / 432.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.1179, allocations: 24.8 kB / 432.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1184, allocations: 299.7 kB / 432.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1184, allocations: 8.125 kB / 432.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1184, allocations: 8 kB / 432.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.1188, allocations: 155.6 kB / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1188, allocations: 0 / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1188, allocations: 8 kB / 432.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1188, allocations: 0 / 432.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1189, allocations: 35.92 kB / 432.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.1195, allocations: 390.3 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1198, allocations: 123.8 kB / 433.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.1199, allocations: 38.56 kB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1199, allocations: 8 kB / 433.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.1201, allocations: 79.38 kB / 433.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1201, allocations: 0 / 433.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004066/0.1205, allocations: 161.3 kB / 433.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1206, allocations: 162.2 kB / 433.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.121, allocations: 338.9 kB / 433.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.121, allocations: 29.7 kB / 433.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1211, allocations: 136.1 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1211, allocations: 7.906 kB / 434 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.1212, allocations: 33.7 kB / 434.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1213, allocations: 334.8 kB / 434.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.1214, allocations: 19.98 kB / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1215, allocations: 90.78 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1217, allocations: 80.22 kB / 434.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1217, allocations: 0 / 434.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.1219, allocations: 129.5 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1219, allocations: 7.984 kB / 434.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1219, allocations: 4 kB / 434.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1219, allocations: 3.938 kB / 434.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.122, allocations: 16 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.122, allocations: 7.922 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.1221, allocations: 11.92 kB / 434.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1221, allocations: 8 kB / 434.8 MB, free: 12.7 MB / 366.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.0001411/0.1223, allocations: 157.9 kB / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1224, allocations: 73.84 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.1224, allocations: 29.7 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1224, allocations: 0 / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.1224, allocations: 11.94 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1225, allocations: 3.938 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1227, allocations: 237.6 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1227, allocations: 0 / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.1228, allocations: 20 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1228, allocations: 0 / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1228, allocations: 4 kB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1228, allocations: 7.984 kB / 435.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1228, allocations: 3.938 kB / 435.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1231, allocations: 166.6 kB / 435.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1232, allocations: 112.9 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1232, allocations: 4 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1233, allocations: 7.984 kB / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.1233, allocations: 11.94 kB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1233, allocations: 7.984 kB / 435.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.1236, allocations: 245.9 kB / 435.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1236, allocations: 0 / 435.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1239, allocations: 31.94 kB / 435.9 MB, free: 11.47 MB / 366.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.002181/0.1261, allocations: 1.028 MB / 436.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1263, allocations: 79.97 kB / 437 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1263, allocations: 0 / 437 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.1264, allocations: 23.98 kB / 437 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.1269, allocations: 62.69 kB / 437.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1297, allocations: 2.22 MB / 439.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1301, allocations: 0.7475 MB / 440 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.767e-05/0.1301, allocations: 21.55 kB / 440.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1302, allocations: 59.41 kB / 440.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1302, allocations: 0 / 440.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.1537, allocations: 5.384 MB / 445.5 MB, free: 1.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.187, allocations: 3.125 kB / 445.5 MB, free: 1.961 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 10.773162372992374] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.36262742598774 8.521366679 8.402315164 Calling exit ...