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.001879/0.001879, allocations: 120.2 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.002367/0.002367, allocations: 205 kB / 21.45 MB, free: 1.629 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.485/1.485, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.002018/0.002018, allocations: 75.81 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 53.33 MB / 427 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001773/0.1097, allocations: 0.499 MB / 427.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1117, allocations: 1.455 MB / 429 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.1118, allocations: 4 kB / 429 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.1118, allocations: 0 / 429 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.1118, allocations: 3.938 kB / 429 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.1125, allocations: 186.8 kB / 429.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.1125, allocations: 8 kB / 429.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1125, allocations: 4 kB / 429.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.1126, allocations: 11.98 kB / 429.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.1126, allocations: 11.92 kB / 429.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1127, allocations: 4 kB / 429.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.1129, allocations: 175.8 kB / 429.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1129, allocations: 0 / 429.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.113, allocations: 7.938 kB / 429.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1132, allocations: 123.7 kB / 429.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1132, allocations: 3.938 kB / 429.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1132, allocations: 0 / 429.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1132, allocations: 4 kB / 429.5 MB, free: 2.371 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.0004124/0.1136, allocations: 343.3 kB / 429.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1137, allocations: 12.03 kB / 429.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1137, allocations: 30.75 kB / 429.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.1138, allocations: 12.86 kB / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.114, allocations: 164.4 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.114, allocations: 4.375 kB / 430 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.114, allocations: 3.938 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1141, allocations: 37.69 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1141, allocations: 4 kB / 430.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1141, allocations: 0 / 430.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1141, allocations: 0 / 430.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.1142, allocations: 3.984 kB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1146, allocations: 477 kB / 430.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.1147, allocations: 173.1 kB / 430.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.1148, allocations: 80.14 kB / 430.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.1148, allocations: 83.27 kB / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.1149, allocations: 105.8 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1149, allocations: 0 / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.394e-05/0.115, allocations: 41.59 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.115, allocations: 152.4 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1151, allocations: 105.8 kB / 431.3 MB, free: 356 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1152, allocations: 25.7 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.1152, allocations: 88.14 kB / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.1152, allocations: 3.984 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.1153, allocations: 13.72 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1154, allocations: 326.8 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.1154, allocations: 0 / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.1155, allocations: 4 kB / 431.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.1155, allocations: 12.8 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1155, allocations: 3.938 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.1156, allocations: 45.58 kB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1156, allocations: 4 kB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1156, allocations: 0 / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1156, allocations: 4.125 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.1157, allocations: 4 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1157, allocations: 0 / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.1157, allocations: 0 / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1157, allocations: 4 kB / 431.8 MB, free: 15.79 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 (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 0.0001174/0.1158, allocations: 189.1 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.1159, allocations: 101 kB / 432.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.314e-05/0.116, allocations: 116.4 kB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.889e-05/0.1161, allocations: 180.3 kB / 432.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.912e-05/0.1161, allocations: 188.2 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.231e-05/0.1162, allocations: 180.3 kB / 432.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1165, allocations: 401.2 kB / 433.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.609e-05/0.1166, allocations: 116.9 kB / 433.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1166, allocations: 105 kB / 433.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.141e-05/0.1167, allocations: 184.5 kB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.1168, allocations: 176.3 kB / 433.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.1169, allocations: 184.3 kB / 433.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.906e-05/0.117, allocations: 180.2 kB / 434.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1171, allocations: 315.7 kB / 434.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.1172, allocations: 178.1 kB / 434.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.1173, allocations: 180.3 kB / 434.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1174, allocations: 108.9 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.1175, allocations: 180.3 kB / 435 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.1175, allocations: 108.9 kB / 435.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.584e-05/0.1176, allocations: 87.28 kB / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1176, allocations: 0 / 435.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1179, allocations: 43.86 kB / 435.2 MB, free: 12.12 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 (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.0007476/0.1187, allocations: 0.8737 MB / 436.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.1187, allocations: 11.92 kB / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1187, allocations: 0 / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.1187, allocations: 4 kB / 436.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1191, allocations: 457.6 kB / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.1195, allocations: 201.9 kB / 436.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1198, allocations: 0.6729 MB / 437.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.1199, allocations: 11.97 kB / 437.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.12, allocations: 11.44 kB / 437.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.12, allocations: 0 / 437.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1451, allocations: 1.899 MB / 439.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.177, allocations: 15.56 kB / 439.4 MB, free: 8.039 MB / 366.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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.83775066724047] Failed to read output from testmodel.py, exit status != 0: ['time', 'x_zero'] 8.24414963228628 8.43223141 8.316759532 Calling exit ...