Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 39.92 kB / 365.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.0928, allocations: 52.16 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001476/0.09428, allocations: 0.4906 MB / 418.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.09598, allocations: 1.391 MB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.096, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.09602, allocations: 0 / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.09605, allocations: 3.938 kB / 419.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.09662, allocations: 185.2 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.09668, allocations: 19.86 kB / 419.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.09672, allocations: 7.984 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.09676, allocations: 8 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.09681, allocations: 15.92 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.09682, allocations: 0 / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.09707, allocations: 159.8 kB / 420 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.09708, allocations: 8 kB / 420.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.0971, allocations: 7.984 kB / 420.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.0973, allocations: 119.6 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.0973, allocations: 0 / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0973, allocations: 0 / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.09731, allocations: 4 kB / 420.2 MB, free: 10.2 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.0003522/0.09766, allocations: 343.3 kB / 420.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.0977, allocations: 15.97 kB / 420.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.09774, allocations: 30.75 kB / 420.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.09776, allocations: 4.891 kB / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.09792, allocations: 176.4 kB / 420.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.09793, allocations: 4.375 kB / 420.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.09794, allocations: 7.875 kB / 420.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.657e-05/0.09803, allocations: 33.64 kB / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.09804, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.09805, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-06/0.09805, allocations: 0 / 420.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.09808, allocations: 4 kB / 420.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.09853, allocations: 481 kB / 421.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.09863, allocations: 173.1 kB / 421.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.09867, allocations: 80.14 kB / 421.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.09871, allocations: 75.28 kB / 421.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/0.09877, allocations: 109.8 kB / 421.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.09877, allocations: 0 / 421.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.09884, allocations: 33.69 kB / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.09893, allocations: 152.4 kB / 421.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.09903, allocations: 109.8 kB / 422 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.09905, allocations: 29.7 kB / 422 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.09911, allocations: 84.09 kB / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.09911, allocations: 0 / 422.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.09914, allocations: 21.66 kB / 422.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.09928, allocations: 322.8 kB / 422.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.09929, allocations: 4 kB / 422.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.0993, allocations: 4 kB / 422.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.09932, allocations: 4.859 kB / 422.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.09933, allocations: 0 / 422.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.09943, allocations: 37.7 kB / 422.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.09944, allocations: 4 kB / 422.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.09945, allocations: 8.125 kB / 422.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.09946, allocations: 0 / 422.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.09951, allocations: 3.984 kB / 422.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.09952, allocations: 3.938 kB / 422.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.09955, allocations: 0 / 422.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.09956, allocations: 4 kB / 422.5 MB, free: 7.625 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 0.0001066/0.09967, allocations: 185.1 kB / 422.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.09974, allocations: 108.9 kB / 422.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.0998, allocations: 112.5 kB / 422.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.671e-05/0.09988, allocations: 184.2 kB / 423.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.749e-05/0.09996, allocations: 184.2 kB / 423.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/0.1, allocations: 188.2 kB / 423.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1003, allocations: 409.2 kB / 423.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.1004, allocations: 105 kB / 423.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.1004, allocations: 105.2 kB / 424 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.135e-05/0.1005, allocations: 180.2 kB / 424.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.1006, allocations: 188.2 kB / 424.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.012e-05/0.1006, allocations: 176.3 kB / 424.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.603e-05/0.1007, allocations: 184.2 kB / 424.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1009, allocations: 311.8 kB / 425.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.101, allocations: 190 kB / 425.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.1011, allocations: 180.3 kB / 425.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1012, allocations: 101 kB / 425.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1013, allocations: 192.2 kB / 425.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.1014, allocations: 101 kB / 425.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.757e-05/0.1014, allocations: 83.28 kB / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1014, allocations: 0 / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1017, allocations: 47.8 kB / 425.9 MB, free: 3.957 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.0007416/0.1025, allocations: 0.8788 MB / 426.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.1025, allocations: 7.938 kB / 426.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1025, allocations: 0 / 426.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1025, allocations: 64 / 426.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1029, allocations: 463.6 kB / 427.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.1033, allocations: 209.8 kB / 427.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1036, allocations: 0.6766 MB / 428.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.1038, allocations: 15.98 kB / 428.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.1038, allocations: 7.438 kB / 428.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1038, allocations: 3.938 kB / 428.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.127, allocations: 1.831 MB / 430 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/7.694, allocations: 15.58 kB / 430 MB, free: 15.91 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.813747819978744]