Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.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.001721/0.001721, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002243/0.002243, allocations: 219.5 kB / 23 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.5 MB / 256.5 MB, free: 8.23 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-beta.om/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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 376.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2595, allocations: 53.32 MB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0027/0.2622, allocations: 1.52 MB / 431 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000906/0.2631, allocations: 0.5026 MB / 431.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.2631, allocations: 0 / 431.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.2632, allocations: 7.922 kB / 431.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.2632, allocations: 15.81 kB / 431.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.2635, allocations: 39.88 kB / 431.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2636, allocations: 75.66 kB / 431.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.2636, allocations: 4.188 kB / 431.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.2638, allocations: 43.89 kB / 431.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.2639, allocations: 31.84 kB / 431.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2639, allocations: 4 kB / 431.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.264, allocations: 12 kB / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.264, allocations: 19.84 kB / 431.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.264, allocations: 27.81 kB / 431.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2642, allocations: 63.58 kB / 431.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2642, allocations: 0 / 431.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2642, allocations: 4 kB / 431.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.2642, allocations: 0 / 431.9 MB, free: 5.023 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006357/0.2648, allocations: 395.6 kB / 432.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2649, allocations: 12.02 kB / 432.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2649, allocations: 34.75 kB / 432.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.2652, allocations: 28.86 kB / 432.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.2655, allocations: 187.1 kB / 432.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.2655, allocations: 384 / 432.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.2656, allocations: 4.375 kB / 432.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2659, allocations: 96.08 kB / 432.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2659, allocations: 0 / 432.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2659, allocations: 0 / 432.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2659, allocations: 4 kB / 432.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.2661, allocations: 59.94 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.2664, allocations: 191.3 kB / 432.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2666, allocations: 103.7 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2668, allocations: 46.61 kB / 433 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2668, allocations: 7.922 kB / 433 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2668, allocations: 38.56 kB / 433.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2668, allocations: 0 / 433.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005336/0.2674, allocations: 145.8 kB / 433.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.2674, allocations: 106.8 kB / 433.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2675, allocations: 129.8 kB / 433.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2676, allocations: 25.7 kB / 433.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.2676, allocations: 88.14 kB / 433.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.2677, allocations: 15.89 kB / 433.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.2677, allocations: 13.72 kB / 433.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2678, allocations: 322.8 kB / 433.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.268, allocations: 35.94 kB / 433.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2681, allocations: 50.55 kB / 434 MB, free: 2.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.2684, allocations: 82.45 kB / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2684, allocations: 0 / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004289/0.2688, allocations: 117.5 kB / 434.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2688, allocations: 8.094 kB / 434.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2688, allocations: 0 / 434.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2689, allocations: 4 kB / 434.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.269, allocations: 19.97 kB / 434.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.269, allocations: 0 / 434.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2691, allocations: 15.92 kB / 434.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.2691, allocations: 0 / 434.2 MB, free: 2.391 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.463e-05/0.2692, allocations: 113.8 kB / 434.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2692, allocations: 19.88 kB / 434.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.2693, allocations: 15.83 kB / 434.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2693, allocations: 0 / 434.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2693, allocations: 3.938 kB / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2693, allocations: 0 / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2694, allocations: 177.6 kB / 434.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2694, allocations: 0 / 434.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2696, allocations: 19.97 kB / 434.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2696, allocations: 4 kB / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2696, allocations: 8 kB / 434.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2696, allocations: 4 kB / 434.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2696, allocations: 4 kB / 434.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.2699, allocations: 150.6 kB / 434.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.27, allocations: 85 kB / 434.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.27, allocations: 4 kB / 434.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.2701, allocations: 11.98 kB / 434.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.2701, allocations: 7.984 kB / 434.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2702, allocations: 4 kB / 434.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.2702, allocations: 98.08 kB / 434.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2702, allocations: 0 / 434.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.2704, allocations: 12 kB / 434.9 MB, free: 1.555 MB / 334.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 (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.0006445/0.2711, allocations: 0.6805 MB / 435.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.2714, allocations: 71.92 kB / 435.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2714, allocations: 7.938 kB / 435.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2715, allocations: 44.2 kB / 435.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.2717, allocations: 8.062 kB / 435.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.2738, allocations: 1.457 MB / 437.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2741, allocations: 0.6924 MB / 437.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.2741, allocations: 4 kB / 437.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.2742, allocations: 19.42 kB / 437.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2742, allocations: 0 / 437.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2978, allocations: 1.755 MB / 439.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/7.962, allocations: 0 / 439.7 MB, free: 12.74 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.347262178023811] Failed to read output from testmodel.py, exit status != 0: ['time', 'sinc.y', 'expSine1.y', 'expSine2.y'] 8.03534143298748 8.070637877 7.800192702 Calling exit ...