Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001692/0.001692, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002029/0.002029, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.707/1.707, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1261, allocations: 53.36 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003069/0.1292, allocations: 1.566 MB / 428.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.1296, allocations: 143.5 kB / 428.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.1297, allocations: 4 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.1297, allocations: 3.938 kB / 428.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1299, allocations: 7.922 kB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1301, allocations: 46.72 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.455e-05/0.1302, allocations: 27.92 kB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.1303, allocations: 11.98 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.1303, allocations: 15.94 kB / 428.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.1304, allocations: 23.84 kB / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1304, allocations: 0 / 428.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.1304, allocations: 11.94 kB / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.1305, allocations: 15.92 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1305, allocations: 15.88 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1306, allocations: 51.69 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1306, allocations: 0 / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1306, allocations: 0 / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1307, allocations: 0 / 429 MB, free: 2.695 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.0004996/0.1312, allocations: 367.2 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1312, allocations: 12.03 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.1312, allocations: 8.125 kB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.1313, allocations: 38.73 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1313, allocations: 8.891 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1316, allocations: 192.2 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.1316, allocations: 384 / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1316, allocations: 4.375 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.1319, allocations: 121.3 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1319, allocations: 0 / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1319, allocations: 7.922 kB / 429.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1319, allocations: 3.984 kB / 429.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.132, allocations: 19.98 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.1323, allocations: 261.8 kB / 430 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1326, allocations: 138.2 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.1326, allocations: 21.78 kB / 430.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1327, allocations: 8 kB / 430.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1327, allocations: 38.55 kB / 430.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1327, allocations: 3.938 kB / 430.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002686/0.133, allocations: 77.56 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.133, allocations: 81.05 kB / 430.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1332, allocations: 131.8 kB / 430.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1332, allocations: 33.83 kB / 430.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1332, allocations: 84.14 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1332, allocations: 7.938 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1333, allocations: 17.72 kB / 430.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1334, allocations: 314.8 kB / 431 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.1335, allocations: 11.98 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.1335, allocations: 31.44 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.1336, allocations: 51.23 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1336, allocations: 0 / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.1338, allocations: 73.61 kB / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1338, allocations: 4 kB / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1338, allocations: 0 / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1338, allocations: 4 kB / 431.1 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.687e-05/0.1339, allocations: 11.92 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1339, allocations: 4 kB / 431.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.1339, allocations: 3.953 kB / 431.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1339, allocations: 4 kB / 431.2 MB, free: 232 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: 0 () * 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.0001057/0.134, allocations: 121.9 kB / 431.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.1341, allocations: 45.69 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.1341, allocations: 12.25 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1341, allocations: 0 / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1341, allocations: 4 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1341, allocations: 3.984 kB / 431.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.1344, allocations: 169.6 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1344, allocations: 3.984 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.1344, allocations: 15.94 kB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1344, allocations: 0 / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1344, allocations: 0 / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1344, allocations: 4 kB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1344, allocations: 0 / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1347, allocations: 168.6 kB / 431.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1347, allocations: 97.06 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1347, allocations: 3.938 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.1348, allocations: 4 kB / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1348, allocations: 7.984 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1348, allocations: 4 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.743e-05/0.1349, allocations: 100.8 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1349, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1351, allocations: 7.938 kB / 431.9 MB, free: 15.36 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: 0 () * 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.0005268/0.1357, allocations: 0.7015 MB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1358, allocations: 31.91 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1358, allocations: 0 / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.1359, allocations: 8 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1362, allocations: 23.89 kB / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1377, allocations: 1.33 MB / 434 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.138, allocations: 0.6924 MB / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.138, allocations: 4 kB / 434.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.1381, allocations: 15.42 kB / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1381, allocations: 0 / 434.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.1578, allocations: 1.509 MB / 436.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.485, allocations: 12.03 kB / 436.2 MB, free: 10.98 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.65270282002166] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.611390987003688 8.932786527 8.498417218 Calling exit ...