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.001249/0.001254, allocations: 120.8 kB / 17.74 MB, free: 5.352 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.001483/0.001484, allocations: 186.9 kB / 20.68 MB, free: 2.422 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.383/1.383, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.00158/0.001581, allocations: 51.91 kB / 357.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09701, allocations: 49.43 MB / 406.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001492/0.09854, allocations: 0.5045 MB / 407.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1004, allocations: 1.387 MB / 408.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1004, allocations: 0 / 408.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1004, allocations: 0 / 408.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.774e-05/0.1005, allocations: 0 / 408.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.1011, allocations: 178.4 kB / 409 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.1011, allocations: 12 kB / 409 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1012, allocations: 11.98 kB / 409 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.532e-05/0.1013, allocations: 19.86 kB / 409 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.1013, allocations: 4 kB / 409 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1013, allocations: 0 / 409 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.1016, allocations: 167.8 kB / 409.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1016, allocations: 0 / 409.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1017, allocations: 7.938 kB / 409.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1019, allocations: 119.7 kB / 409.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1019, allocations: 3.984 kB / 409.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1019, allocations: 0 / 409.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1019, allocations: 4 kB / 409.3 MB, free: 5 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.0003985/0.1023, allocations: 347.3 kB / 409.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1024, allocations: 8.031 kB / 409.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1024, allocations: 30.75 kB / 409.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1024, allocations: 8.891 kB / 409.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1026, allocations: 160.4 kB / 409.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1026, allocations: 4.359 kB / 409.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-06/0.1026, allocations: 3.938 kB / 409.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.1027, allocations: 37.7 kB / 409.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1027, allocations: 0 / 409.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1027, allocations: 7.938 kB / 409.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1028, allocations: 0 / 409.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.1028, allocations: 0 / 409.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1032, allocations: 473 kB / 410.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1034, allocations: 177.1 kB / 410.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.1034, allocations: 84.14 kB / 410.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.1034, allocations: 79.22 kB / 410.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/0.1035, allocations: 105.8 kB / 410.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.1035, allocations: 3.938 kB / 410.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.386e-05/0.1036, allocations: 29.64 kB / 410.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.1037, allocations: 160.4 kB / 411 MB, free: 3.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1038, allocations: 117.8 kB / 411.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1038, allocations: 25.7 kB / 411.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.1039, allocations: 88.08 kB / 411.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.1039, allocations: 4 kB / 411.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.104, allocations: 13.72 kB / 411.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1041, allocations: 318.8 kB / 411.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.1041, allocations: 0 / 411.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.1041, allocations: 15.92 kB / 411.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.1042, allocations: 8.859 kB / 411.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1042, allocations: 0 / 411.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001022/0.1043, allocations: 33.7 kB / 411.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1043, allocations: 4 kB / 411.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1043, allocations: 0 / 411.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1043, allocations: 0 / 411.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.1044, allocations: 8 kB / 411.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1044, allocations: 0 / 411.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.1044, allocations: 4.125 kB / 411.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1044, allocations: 3.984 kB / 411.6 MB, free: 2.422 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.0001077/0.1046, allocations: 189.1 kB / 411.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.1046, allocations: 108.9 kB / 411.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.1047, allocations: 108.5 kB / 412 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.361e-05/0.1048, allocations: 180.2 kB / 412.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-05/0.1049, allocations: 188.2 kB / 412.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/0.1049, allocations: 176.3 kB / 412.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1052, allocations: 413.2 kB / 413 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.1053, allocations: 105 kB / 413.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1053, allocations: 108.9 kB / 413.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.1054, allocations: 176.3 kB / 413.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.1055, allocations: 184.2 kB / 413.5 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.328e-05/0.1055, allocations: 180.2 kB / 413.7 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-05/0.1056, allocations: 180.3 kB / 413.9 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1058, allocations: 311.7 kB / 414.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.57e-05/0.1059, allocations: 190 kB / 414.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.106, allocations: 180.3 kB / 414.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1061, allocations: 108.9 kB / 414.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.1062, allocations: 180.2 kB / 414.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.1062, allocations: 101 kB / 414.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.1063, allocations: 95.52 kB / 415 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1063, allocations: 4 kB / 415 MB, free: 14.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.1066, allocations: 47.75 kB / 415.1 MB, free: 14.75 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.0007598/0.1074, allocations: 0.8817 MB / 416 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.1075, allocations: 8 kB / 416 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1075, allocations: 0 / 416 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.1075, allocations: 0 / 416 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1079, allocations: 451.8 kB / 416.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1083, allocations: 221.8 kB / 416.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1086, allocations: 0.6805 MB / 417.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1087, allocations: 7.984 kB / 417.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.1087, allocations: 11.44 kB / 417.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1087, allocations: 0 / 417.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.1295, allocations: 1.816 MB / 419.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.865, allocations: 12.5 kB / 419.1 MB, free: 10.71 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/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: 10.369689929997548]