Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001888/0.001888, allocations: 120 kB / 18.49 MB, free: 4.59 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.00238/0.00238, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.665/1.665, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 53.37 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003189/0.1324, allocations: 1.702 MB / 428.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004792/0.1329, allocations: 163.4 kB / 428.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.133, allocations: 0 / 428.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.266e-05/0.1331, allocations: 7.875 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1332, allocations: 19.94 kB / 429 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1335, allocations: 47.81 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1336, allocations: 55.83 kB / 429.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1337, allocations: 19.98 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.1338, allocations: 27.86 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.1338, allocations: 23.86 kB / 429.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1339, allocations: 4 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1339, allocations: 4 kB / 429.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1339, allocations: 19.92 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.134, allocations: 39.72 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1341, allocations: 75.55 kB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1341, allocations: 0 / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1341, allocations: 0 / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1341, allocations: 0 / 429.3 MB, free: 2.398 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005649/0.1347, allocations: 395 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1348, allocations: 8.031 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.247e-05/0.1348, allocations: 8.188 kB / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1348, allocations: 38.73 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1349, allocations: 12.89 kB / 429.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1351, allocations: 198.2 kB / 429.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1352, allocations: 4.375 kB / 429.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1352, allocations: 8.312 kB / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1355, allocations: 168.2 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1355, allocations: 3.984 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1356, allocations: 4 kB / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1356, allocations: 0 / 430.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1357, allocations: 35.92 kB / 430.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.1362, allocations: 369.8 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1364, allocations: 119.8 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1365, allocations: 58.62 kB / 430.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1366, allocations: 0 / 430.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1366, allocations: 38.56 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1366, allocations: 0 / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003903/0.137, allocations: 121.5 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.1371, allocations: 111.1 kB / 430.9 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1372, allocations: 137.8 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1372, allocations: 29.7 kB / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1373, allocations: 88.08 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1373, allocations: 7.953 kB / 431.2 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1374, allocations: 33.66 kB / 431.2 MB, free: 172 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1375, allocations: 318.8 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.1376, allocations: 11.98 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.1377, allocations: 75.66 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1378, allocations: 91.59 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1378, allocations: 0 / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.1381, allocations: 109.7 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1381, allocations: 6.344 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1381, allocations: 7.938 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.1381, allocations: 4 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.1382, allocations: 23.98 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1382, allocations: 3.938 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.1383, allocations: 16.17 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1383, allocations: 8 kB / 431.9 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001091/0.1384, allocations: 129.7 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.1385, allocations: 77.78 kB / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1386, allocations: 12.72 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1386, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1386, allocations: 0 / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1386, allocations: 4 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1389, allocations: 185.5 kB / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1389, allocations: 4 kB / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.1e-05/0.1389, allocations: 19.98 kB / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1389, allocations: 0 / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1389, allocations: 4 kB / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1389, allocations: 0 / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1389, allocations: 0 / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.1394, allocations: 324.2 kB / 432.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1395, allocations: 96.98 kB / 432.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1395, allocations: 4 kB / 432.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.1396, allocations: 0 / 432.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1396, allocations: 11.98 kB / 432.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.1396, allocations: 4 kB / 432.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.229e-05/0.1397, allocations: 103.3 kB / 432.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1397, allocations: 8 kB / 432.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.14, allocations: 8 kB / 432.9 MB, free: 14.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0007442/0.1407, allocations: 0.8384 MB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.141, allocations: 71.78 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.141, allocations: 0 / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.141, allocations: 7.984 kB / 433.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.1415, allocations: 56.55 kB / 433.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1432, allocations: 1.591 MB / 435.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1436, allocations: 0.7002 MB / 436.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.061e-05/0.1437, allocations: 4.656 kB / 436.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1437, allocations: 19.44 kB / 436.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1437, allocations: 4 kB / 436.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1673, allocations: 1.905 MB / 438.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.854/9.021, allocations: 8.047 kB / 438.1 MB, free: 9.059 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.050076790968888] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 9.149047427985352 9.442626095 9.305049805 Calling exit ...