Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001581/0.001581, allocations: 117 kB / 18.49 MB, free: 4.566 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.002161/0.002161, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.509/1.509, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1134, allocations: 53.37 MB / 427.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.00322/0.1166, allocations: 1.515 MB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.1171, allocations: 151.5 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.1172, allocations: 0 / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.259e-05/0.1172, allocations: 3.938 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1174, allocations: 3.938 kB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1176, allocations: 39.89 kB / 428.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.1177, allocations: 27.92 kB / 428.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1178, allocations: 15.98 kB / 428.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.1179, allocations: 15.88 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.1179, allocations: 19.86 kB / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1179, allocations: 7.938 kB / 428.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.118, allocations: 4 kB / 428.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.118, allocations: 8 kB / 428.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.1181, allocations: 27.78 kB / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.1182, allocations: 43.77 kB / 428.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1182, allocations: 0 / 428.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1182, allocations: 0 / 428.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1182, allocations: 0 / 428.9 MB, free: 2.734 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005277/0.1187, allocations: 375.1 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1188, allocations: 16.03 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.565e-05/0.1188, allocations: 192 / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.1188, allocations: 30.75 kB / 429.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1189, allocations: 12.89 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1192, allocations: 208.1 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1192, allocations: 384 / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1192, allocations: 8.375 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1195, allocations: 121.3 kB / 429.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1195, allocations: 0 / 429.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1196, allocations: 0 / 429.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1196, allocations: 0 / 429.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.1196, allocations: 19.92 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.12, allocations: 265.8 kB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1202, allocations: 138.2 kB / 430.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.1203, allocations: 25.77 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1203, allocations: 8 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1204, allocations: 30.56 kB / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1204, allocations: 0 / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002827/0.1206, allocations: 77.56 kB / 430.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.1207, allocations: 81.09 kB / 430.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1209, allocations: 135.6 kB / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1209, allocations: 33.7 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.1209, allocations: 80.14 kB / 430.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.121, allocations: 11.89 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.121, allocations: 21.7 kB / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1211, allocations: 314.8 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.1212, allocations: 7.984 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.1212, allocations: 43.31 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.1213, allocations: 47.3 kB / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1213, allocations: 0 / 431 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.1215, allocations: 69.61 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1215, allocations: 4 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1215, allocations: 4 kB / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1215, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.1216, allocations: 8 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1216, allocations: 0 / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.1216, allocations: 15.94 kB / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1216, allocations: 0 / 431.1 MB, free: 260 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000101/0.1217, allocations: 129.8 kB / 431.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.1218, allocations: 45.69 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1218, allocations: 4.25 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1218, allocations: 4.328 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1218, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1218, allocations: 0 / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1221, allocations: 173.5 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1221, allocations: 0 / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1221, allocations: 15.97 kB / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1221, allocations: 0 / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1221, allocations: 8 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1221, allocations: 4 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1221, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1223, allocations: 176.2 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1224, allocations: 85.09 kB / 431.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1224, allocations: 0 / 431.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.1225, allocations: 8 kB / 431.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1225, allocations: 4 kB / 431.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1225, allocations: 0 / 431.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.1226, allocations: 108.7 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1226, allocations: 0 / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1228, allocations: 11.94 kB / 431.9 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005143/0.1233, allocations: 0.7015 MB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1235, allocations: 31.92 kB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1235, allocations: 0 / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.1235, allocations: 7.984 kB / 432.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1238, allocations: 24.27 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1252, allocations: 1.34 MB / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1255, allocations: 0.6885 MB / 434.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.1255, allocations: 0 / 434.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.1256, allocations: 15.44 kB / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1256, allocations: 0 / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.1436, allocations: 1.501 MB / 436.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.174, allocations: 11.98 kB / 436.2 MB, free: 11.02 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.960776017047465] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.31447444402147 8.560457176 8.222310929 Calling exit ...