Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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.00179/0.00179, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002262/0.002262, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.462/1.462, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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.001917/0.001917, allocations: 67.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1036, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001567/0.1052, allocations: 0.5052 MB / 427.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1072, allocations: 1.451 MB / 428.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.1073, allocations: 0 / 428.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1073, allocations: 7.938 kB / 428.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.1073, allocations: 0 / 428.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.108, allocations: 182.6 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.871e-05/0.108, allocations: 11.98 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.1081, allocations: 4 kB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.1081, allocations: 15.92 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.1082, allocations: 7.938 kB / 429 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1082, allocations: 4 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.1085, allocations: 171.8 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.1085, allocations: 7.984 kB / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1085, allocations: 3.938 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1087, allocations: 131.6 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1088, allocations: 0 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1088, allocations: 0 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1088, allocations: 0 / 429.4 MB, free: 2.367 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003899/0.1091, allocations: 347.3 kB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1092, allocations: 12.03 kB / 429.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1092, allocations: 34.75 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1094, allocations: 4.922 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1095, allocations: 164.4 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1095, allocations: 384 / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1095, allocations: 7.922 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1096, allocations: 29.7 kB / 429.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1096, allocations: 3.984 kB / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.1096, allocations: 0 / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1096, allocations: 0 / 430 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.1097, allocations: 7.938 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1101, allocations: 484.9 kB / 430.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.1102, allocations: 165.1 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.1102, allocations: 80.14 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1103, allocations: 75.28 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.303e-05/0.1104, allocations: 121.8 kB / 430.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1104, allocations: 0 / 430.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.106e-05/0.1104, allocations: 33.66 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.1105, allocations: 152.4 kB / 431 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.1106, allocations: 113.8 kB / 431.2 MB, free: 348 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1106, allocations: 25.7 kB / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1107, allocations: 84.14 kB / 431.3 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.1107, allocations: 4 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1107, allocations: 13.72 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1898/0.3006, allocations: 322.6 kB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.3006, allocations: 0 / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.3006, allocations: 5.219 kB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.3007, allocations: 9.734 kB / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3007, allocations: 0 / 431.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001331/0.3008, allocations: 39.53 kB / 431.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3008, allocations: 9.938 kB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3008, allocations: 0 / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3008, allocations: 0 / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.082e-05/0.3009, allocations: 3.375 kB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3009, allocations: 4.844 kB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.301, allocations: 2.875 kB / 431.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.301, allocations: 3.188 kB / 431.7 MB, free: 11.02 MB / 350.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 (1): * Single equations (assignments): 1 * 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 6.103e-05/0.301, allocations: 187.9 kB / 431.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.3011, allocations: 106.9 kB / 432 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.3011, allocations: 107.7 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.3011, allocations: 184.5 kB / 432.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.3012, allocations: 185.8 kB / 432.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.3012, allocations: 182.8 kB / 432.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.3013, allocations: 403.6 kB / 433 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.3013, allocations: 105 kB / 433.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.3013, allocations: 103.5 kB / 433.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.163e-05/0.3014, allocations: 187.7 kB / 433.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3014, allocations: 178.4 kB / 433.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/0.3014, allocations: 182.4 kB / 433.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-05/0.3014, allocations: 182.7 kB / 433.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.3015, allocations: 307.6 kB / 434.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.3015, allocations: 187.5 kB / 434.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.3016, allocations: 181.6 kB / 434.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.3016, allocations: 106.5 kB / 434.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3017, allocations: 184.9 kB / 434.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3017, allocations: 106.3 kB / 435 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.3017, allocations: 90.73 kB / 435.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3017, allocations: 0 / 435.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.302, allocations: 43.11 kB / 435.1 MB, free: 7.535 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0005232/0.3026, allocations: 0.8825 MB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.3027, allocations: 7.125 kB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3027, allocations: 1.688 kB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.3027, allocations: 0.875 kB / 436 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3029, allocations: 465.3 kB / 436.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.3032, allocations: 206.8 kB / 436.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3033, allocations: 0.6749 MB / 437.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.3035, allocations: 15.92 kB / 437.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3035, allocations: 9.109 kB / 437.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3035, allocations: 0 / 437.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3285, allocations: 1.89 MB / 439.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.05, allocations: 19.14 kB / 439.3 MB, free: 4.973 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.365463719703257] Failed to read output from testmodel.py, exit status != 0: ['time', 'x_zero'] 8.116871693637222 8.128711767 8.017248309 Calling exit ...