Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001888/0.001888, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002317/0.002317, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 54.58 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.29, allocations: 49.17 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002889/0.2928, allocations: 2.126 MB / 398.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2939, allocations: 0.7299 MB / 399.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.2939, allocations: 0 / 399.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.045e-05/0.294, allocations: 8.578 kB / 399.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.2941, allocations: 2.859 kB / 399.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.2947, allocations: 212.1 kB / 399.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.2947, allocations: 21.23 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.2948, allocations: 2.406 kB / 399.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.2948, allocations: 18.91 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.2949, allocations: 8.109 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2949, allocations: 1.156 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.2951, allocations: 169.5 kB / 399.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.2952, allocations: 19.52 kB / 399.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.2952, allocations: 1.797 kB / 399.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2954, allocations: 127.7 kB / 399.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2954, allocations: 4 kB / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2954, allocations: 0 / 399.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2954, allocations: 1.156 kB / 399.8 MB, free: 6.723 MB / 318.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.0002636/0.2957, allocations: 273.4 kB / 400 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2957, allocations: 14.27 kB / 400.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.2957, allocations: 35.5 kB / 400.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.2957, allocations: 11.08 kB / 400.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.406e-05/0.2958, allocations: 111.2 kB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2958, allocations: 384 / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.2958, allocations: 1.344 kB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/0.2959, allocations: 67.12 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2959, allocations: 0 / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2959, allocations: 0 / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2959, allocations: 1.281 kB / 400.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.296, allocations: 11.95 kB / 400.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.2962, allocations: 368.9 kB / 400.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.2962, allocations: 172.4 kB / 400.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.2962, allocations: 80.14 kB / 400.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.2963, allocations: 80.5 kB / 401 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2963, allocations: 112 kB / 401.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2963, allocations: 0 / 401.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.973e-05/0.2963, allocations: 37.3 kB / 401.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.2964, allocations: 153.7 kB / 401.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.2964, allocations: 120.3 kB / 401.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.2965, allocations: 26.41 kB / 401.4 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.2965, allocations: 86.83 kB / 401.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.2965, allocations: 1.094 kB / 401.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.2965, allocations: 15.81 kB / 401.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.2966, allocations: 325 kB / 401.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.2966, allocations: 2.938 kB / 401.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.2966, allocations: 30.92 kB / 401.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.032e-05/0.2966, allocations: 13.02 kB / 401.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2966, allocations: 0 / 401.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.175e-05/0.2967, allocations: 45.06 kB / 401.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2967, allocations: 4.875 kB / 401.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2967, allocations: 0 / 401.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2967, allocations: 1.875 kB / 401.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.2968, allocations: 6.188 kB / 401.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2968, allocations: 4.688 kB / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.2968, allocations: 1.094 kB / 401.9 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2968, allocations: 1.797 kB / 402 MB, free: 4.484 MB / 318.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 5.198e-05/0.2969, allocations: 188.2 kB / 402.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.2969, allocations: 112.1 kB / 402.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2969, allocations: 108.4 kB / 402.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.297, allocations: 182 kB / 402.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/0.297, allocations: 178.1 kB / 402.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.297, allocations: 190.1 kB / 402.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.2971, allocations: 388.5 kB / 403.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.2971, allocations: 103.1 kB / 403.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.2972, allocations: 107 kB / 403.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.2972, allocations: 181.9 kB / 403.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2972, allocations: 179.4 kB / 403.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/0.2972, allocations: 182.2 kB / 404 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.2972, allocations: 182.5 kB / 404.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.2973, allocations: 314.6 kB / 404.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.2973, allocations: 105.4 kB / 404.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2974, allocations: 182.7 kB / 404.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.2974, allocations: 103.7 kB / 404.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.2975, allocations: 184.9 kB / 405.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2975, allocations: 107.7 kB / 405.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.2975, allocations: 92 kB / 405.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2975, allocations: 0 / 405.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.2978, allocations: 42.62 kB / 405.3 MB, free: 1.035 MB / 318.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.0005602/0.2983, allocations: 0.9137 MB / 406.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.2984, allocations: 4.594 kB / 406.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2984, allocations: 0 / 406.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.2984, allocations: 1 kB / 406.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2988, allocations: 459.1 kB / 406.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2999, allocations: 1.351 MB / 408 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.3, allocations: 63.7 kB / 408.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3, allocations: 10.14 kB / 408.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3001, allocations: 13.58 kB / 408.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3001, allocations: 1.094 kB / 408.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.3362, allocations: 2.602 MB / 410.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.27, allocations: 12.84 kB / 410.7 MB, free: 13.18 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 13.691769239958376]