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.001527/0.001527, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001694/0.001694, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001913/0.001913, allocations: 60.78 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002928/0.2937, allocations: 1.516 MB / 433.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2948, allocations: 0.5026 MB / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.2948, allocations: 0 / 433.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.2949, allocations: 7.922 kB / 433.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.295, allocations: 23.8 kB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2953, allocations: 39.88 kB / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.2954, allocations: 71.72 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.2955, allocations: 4.188 kB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2957, allocations: 43.84 kB / 434.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.2957, allocations: 39.83 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.2958, allocations: 4 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.2958, allocations: 8 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2958, allocations: 8 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.2959, allocations: 31.73 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.296, allocations: 75.19 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.296, allocations: 0 / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.296, allocations: 4 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.296, allocations: 0 / 434.3 MB, free: 4.469 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.0006319/0.2966, allocations: 315.3 kB / 434.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2967, allocations: 12.03 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.453e-05/0.2967, allocations: 30.75 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.297, allocations: 32.86 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2972, allocations: 130.5 kB / 434.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.2972, allocations: 4.359 kB / 434.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2972, allocations: 4.359 kB / 434.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.2975, allocations: 92.09 kB / 434.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2975, allocations: 4 kB / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2975, allocations: 0 / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2975, allocations: 4 kB / 434.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.2978, allocations: 55.94 kB / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.298, allocations: 162.5 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.2983, allocations: 99.75 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.2984, allocations: 50.55 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2984, allocations: 7.938 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.2985, allocations: 42.55 kB / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2985, allocations: 0 / 435.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005145/0.299, allocations: 133.8 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.2991, allocations: 118.7 kB / 435.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2992, allocations: 124.7 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2992, allocations: 29.69 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.2993, allocations: 92.14 kB / 435.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.2993, allocations: 7.906 kB / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.2993, allocations: 21.7 kB / 435.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2995, allocations: 330.8 kB / 436.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2996, allocations: 27.97 kB / 436.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2997, allocations: 46.55 kB / 436.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.3, allocations: 86.45 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003163/0.3003, allocations: 109.5 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3003, allocations: 12.03 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3003, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3004, allocations: 0 / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3005, allocations: 15.98 kB / 436.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3005, allocations: 7.984 kB / 436.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.3006, allocations: 4 kB / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3006, allocations: 15.92 kB / 436.5 MB, free: 2.027 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.073e-05/0.3007, allocations: 117.8 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3007, allocations: 11.89 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.3008, allocations: 11.92 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3008, allocations: 4 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3008, allocations: 3.984 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3008, allocations: 0 / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3009, allocations: 156.6 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3009, allocations: 0 / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.301, allocations: 19.92 kB / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.301, allocations: 0 / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3011, allocations: 15.98 kB / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3011, allocations: 0 / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3011, allocations: 0 / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.3014, allocations: 146.7 kB / 436.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.3014, allocations: 15.89 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.3014, allocations: 4 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.3015, allocations: 8.125 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3016, allocations: 15.91 kB / 437 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3016, allocations: 4 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.3017, allocations: 103.2 kB / 437.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3017, allocations: 0 / 437.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.3019, allocations: 12 kB / 437.1 MB, free: 1.309 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.0006395/0.3025, allocations: 0.6765 MB / 437.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.3028, allocations: 75.8 kB / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3028, allocations: 0 / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.303, allocations: 40.22 kB / 437.9 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3031, allocations: 8.062 kB / 437.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.3051, allocations: 1.453 MB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3055, allocations: 0.6924 MB / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.87e-05/0.3055, allocations: 0 / 440 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.3056, allocations: 23.42 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3056, allocations: 0 / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.331, allocations: 1.769 MB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.536, allocations: 7.328 kB / 441.8 MB, free: 12.49 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.0001 --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.788431832101196] Failed to read output from testmodel.py, exit status != 0: ['time', 'sinc.y', 'expSine1.y', 'expSine2.y'] 8.603411415126175 8.618251142 8.319217662 Calling exit ...