Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 254.1 MB, free: 15.08 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_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_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001689/0.1101, allocations: 0.5011 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.112, allocations: 1.451 MB / 428.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.112, allocations: 4 kB / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.112, allocations: 0 / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.918e-05/0.1121, allocations: 3.938 kB / 428.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.1127, allocations: 182.1 kB / 428.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.1128, allocations: 15.92 kB / 428.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1128, allocations: 4 kB / 428.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1128, allocations: 12 kB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.1129, allocations: 19.84 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1129, allocations: 0 / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.1132, allocations: 175.8 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1132, allocations: 0 / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1132, allocations: 7.922 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1135, allocations: 123.7 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1135, allocations: 0 / 428.8 MB, free: 2.289 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.0004116/0.1139, allocations: 355.3 kB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1139, allocations: 12.03 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.114, allocations: 30.75 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1141, allocations: 4.938 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1142, allocations: 160.4 kB / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1142, allocations: 384 / 429.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1142, allocations: 3.938 kB / 429.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1144, allocations: 45.61 kB / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1144, allocations: 0 / 429.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1144, allocations: 4 kB / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1144, allocations: 0 / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.1144, allocations: 4 kB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1148, allocations: 477 kB / 429.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.129e-05/0.1149, allocations: 173.1 kB / 430 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.108e-05/0.115, allocations: 84.14 kB / 430.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.115, allocations: 75.28 kB / 430.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.1151, allocations: 109.8 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1151, allocations: 0 / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.744e-05/0.1152, allocations: 29.66 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.1153, allocations: 152.4 kB / 430.5 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1154, allocations: 121.8 kB / 430.6 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1154, allocations: 29.7 kB / 430.6 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.1155, allocations: 80.14 kB / 430.7 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1155, allocations: 0 / 430.7 MB, free: 144 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1155, allocations: 21.7 kB / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1157, allocations: 318.8 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.1157, allocations: 0 / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.1157, allocations: 7.938 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.1157, allocations: 16.94 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1157, allocations: 0 / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.1159, allocations: 33.66 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1159, allocations: 8 kB / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1159, allocations: 0 / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1159, allocations: 3.938 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.1159, allocations: 11.94 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1159, allocations: 0 / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.116, allocations: 0 / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.116, allocations: 0 / 431.1 MB, free: 15.7 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.0001255/0.1161, allocations: 197.1 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.1162, allocations: 101 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.1163, allocations: 112.5 kB / 431.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.149e-05/0.1163, allocations: 180.3 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-05/0.1164, allocations: 184.3 kB / 431.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.982e-05/0.1165, allocations: 184.2 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1167, allocations: 413.1 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/0.1168, allocations: 104.9 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1168, allocations: 105 kB / 432.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.1169, allocations: 180.3 kB / 432.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.117, allocations: 180.2 kB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.316e-05/0.117, allocations: 184.2 kB / 433.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.436e-05/0.1171, allocations: 184.2 kB / 433.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.1173, allocations: 303.8 kB / 433.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.1173, allocations: 186 kB / 433.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/0.1174, allocations: 180.3 kB / 434 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1175, allocations: 113.2 kB / 434.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.1176, allocations: 176.3 kB / 434.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.1177, allocations: 105 kB / 434.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.1177, allocations: 91.27 kB / 434.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1177, allocations: 0 / 434.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.118, allocations: 43.81 kB / 434.5 MB, free: 12.04 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.0006959/0.1187, allocations: 0.8811 MB / 435.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.1188, allocations: 4 kB / 435.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1188, allocations: 8 kB / 435.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.1188, allocations: 3.938 kB / 435.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1192, allocations: 455.7 kB / 435.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.1195, allocations: 201.9 kB / 436.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1198, allocations: 0.6729 MB / 436.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1199, allocations: 15.98 kB / 436.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.12, allocations: 7.438 kB / 436.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.12, allocations: 4 kB / 436.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1438, allocations: 1.888 MB / 438.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/7.941, allocations: 14.58 kB / 438.7 MB, free: 7.93 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.560669899001368]