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.001281/0.001281, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001402/0.001402, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001961/0.001961, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001636/0.264, allocations: 0.5084 MB / 432.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.266, allocations: 1.466 MB / 433.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.266, allocations: 0 / 433.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.2661, allocations: 4 kB / 433.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.2661, allocations: 3.938 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.2667, allocations: 182.9 kB / 434.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.2668, allocations: 11.98 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.2668, allocations: 4 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.2669, allocations: 15.92 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.2669, allocations: 11.98 kB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2669, allocations: 0 / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.2672, allocations: 171.8 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2672, allocations: 11.94 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.2673, allocations: 3.984 kB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2675, allocations: 124.5 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2675, allocations: 0 / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2675, allocations: 0 / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2675, allocations: 0 / 434.4 MB, free: 4.367 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003732/0.2679, allocations: 274.2 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2679, allocations: 16.03 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.268, allocations: 34.69 kB / 434.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2681, allocations: 8.922 kB / 434.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2682, allocations: 106.5 kB / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2682, allocations: 384 / 434.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2683, allocations: 3.938 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2684, allocations: 33.69 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2684, allocations: 7.984 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2684, allocations: 0 / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2684, allocations: 4 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.994e-05/0.2684, allocations: 0 / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.2688, allocations: 370.9 kB / 435.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.2689, allocations: 177.1 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.269, allocations: 80.14 kB / 435.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.269, allocations: 79.28 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.115e-05/0.2691, allocations: 109.8 kB / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2691, allocations: 0 / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.412e-05/0.2691, allocations: 37.59 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.2692, allocations: 156.3 kB / 435.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2693, allocations: 109.8 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2693, allocations: 25.7 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.2694, allocations: 92.08 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.2694, allocations: 0 / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.2695, allocations: 17.72 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2696, allocations: 318.8 kB / 436.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.2696, allocations: 4 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.2696, allocations: 0 / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.2696, allocations: 8.859 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2696, allocations: 4.094 kB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.2698, allocations: 45.59 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2698, allocations: 7.984 kB / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2698, allocations: 0 / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2698, allocations: 4 kB / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.2698, allocations: 0 / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2699, allocations: 0 / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.2699, allocations: 0 / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2699, allocations: 4 kB / 436.5 MB, free: 2.066 MB / 334.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.0001144/0.27, allocations: 189.1 kB / 436.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.2701, allocations: 105 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.2701, allocations: 116.4 kB / 436.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/0.2702, allocations: 176.3 kB / 437.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-05/0.2703, allocations: 184.2 kB / 437.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-05/0.2704, allocations: 176.3 kB / 437.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2706, allocations: 384.2 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.642e-05/0.2707, allocations: 104.9 kB / 437.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.2707, allocations: 105 kB / 438 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-05/0.2708, allocations: 180.2 kB / 438.2 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/0.2709, allocations: 184.3 kB / 438.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.891e-05/0.271, allocations: 192.3 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.271, allocations: 180.3 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2712, allocations: 307.7 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.2713, allocations: 109.2 kB / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.2714, allocations: 184.2 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2715, allocations: 105 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.2715, allocations: 184.2 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.2716, allocations: 104.9 kB / 439.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.2716, allocations: 87.28 kB / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2716, allocations: 0 / 439.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003156/0.272, allocations: 47.86 kB / 439.8 MB, free: 14.53 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.0007127/0.2727, allocations: 0.8698 MB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.071e-05/0.2728, allocations: 7.938 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2728, allocations: 0 / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2728, allocations: 4.062 kB / 440.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.2731, allocations: 459.7 kB / 441.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.2735, allocations: 205.8 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2738, allocations: 0.6729 MB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.274, allocations: 15.97 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.274, allocations: 15.44 kB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.274, allocations: 0 / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.3003, allocations: 1.874 MB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.363, allocations: 8 kB / 444 MB, free: 10.42 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.628335528075695] Failed to read output from testmodel.py, exit status != 0: ['time', 'x_zero'] 8.435304692946374 8.46142198 8.189064313 Calling exit ...