Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.00188/0.00188, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.002414/0.002414, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.7/1.7, allocations: 230.4 MB / 254.7 MB, free: 15 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.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 53.37 MB / 427 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004709/0.178, allocations: 1.525 MB / 428.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1795, allocations: 0.5414 MB / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.1796, allocations: 0 / 429.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1798, allocations: 15.88 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1799, allocations: 7.922 kB / 429.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1802, allocations: 39.91 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1803, allocations: 59.84 kB / 429.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1805, allocations: 11.98 kB / 429.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.1807, allocations: 39.8 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1808, allocations: 35.89 kB / 429.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1809, allocations: 4 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.474e-05/0.181, allocations: 16 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.181, allocations: 15.92 kB / 429.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.181, allocations: 23.86 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.1813, allocations: 79.66 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.1813, allocations: 0 / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1813, allocations: 4 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1813, allocations: 0 / 429.4 MB, free: 2.211 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001053/0.1824, allocations: 383.2 kB / 429.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.1824, allocations: 8.031 kB / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.302e-05/0.1825, allocations: 192 / 429.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.1825, allocations: 38.75 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1825, allocations: 8.891 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1827, allocations: 172.3 kB / 430 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1828, allocations: 4.375 kB / 430 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1828, allocations: 8.375 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1832, allocations: 89.52 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1832, allocations: 3.984 kB / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1832, allocations: 0 / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1832, allocations: 0 / 430.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.1837, allocations: 79.92 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006673/0.1843, allocations: 320.6 kB / 430.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.1847, allocations: 70.53 kB / 430.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1849, allocations: 44.95 kB / 430.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1849, allocations: 0 / 430.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.185, allocations: 34.56 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.185, allocations: 96 / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008314/0.1858, allocations: 161.6 kB / 430.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1859, allocations: 51.41 kB / 430.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.186, allocations: 109.8 kB / 431 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.186, allocations: 25.7 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.1861, allocations: 100.1 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1861, allocations: 11.84 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.1862, allocations: 21.7 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1864, allocations: 322.8 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1866, allocations: 44.02 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.1868, allocations: 32.34 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.1873, allocations: 88.72 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1873, allocations: 0 / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004877/0.1878, allocations: 113.6 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1878, allocations: 9.656 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1878, allocations: 0 / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/0.1878, allocations: 3.984 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.188, allocations: 19.98 kB / 431.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.188, allocations: 4 kB / 431.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1881, allocations: 11.92 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.1882, allocations: 4 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001255/0.1883, allocations: 113.8 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1883, allocations: 7.984 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.1889, allocations: 129.6 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1889, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1889, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1889, allocations: 3.938 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.1892, allocations: 193.6 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1892, allocations: 0 / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.1894, allocations: 19.98 kB / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1894, allocations: 0 / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1894, allocations: 8 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1894, allocations: 192 / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1894, allocations: 3.938 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.19, allocations: 219.4 kB / 432.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.19, allocations: 81.06 kB / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1901, allocations: 11.94 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1902, allocations: 15.97 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.1903, allocations: 4 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1903, allocations: 3.938 kB / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.1904, allocations: 91.27 kB / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1904, allocations: 0 / 432.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1907, allocations: 15.94 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001088/0.1918, allocations: 0.7514 MB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.1924, allocations: 87.92 kB / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1924, allocations: 288 / 433.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1926, allocations: 47.89 kB / 433.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.1931, allocations: 15.88 kB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.1938, allocations: 192.1 kB / 433.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1943, allocations: 0.6924 MB / 434.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.1943, allocations: 4 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.1944, allocations: 19.42 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1944, allocations: 0 / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2184, allocations: 2.074 MB / 436.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.738/8.956, allocations: 8 kB / 436.6 MB, free: 10.75 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.009075751993805] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 9.084890731028281 9.33153752 9.146540113 Calling exit ...