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.001278/0.001278, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001401/0.001401, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.4/1.4, allocations: 207.6 MB / 235.3 MB, free: 10 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.001829/0.001829, allocations: 47.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2901, allocations: 49.16 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003136/0.2933, allocations: 2.282 MB / 398.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2945, allocations: 0.7983 MB / 399.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.2945, allocations: 0 / 399.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.2946, allocations: 3.5 kB / 399.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2947, allocations: 7.812 kB / 399.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.2954, allocations: 209.1 kB / 399.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.2954, allocations: 18.97 kB / 399.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.2955, allocations: 11.19 kB / 399.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.2955, allocations: 9.922 kB / 399.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.2956, allocations: 16.42 kB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2956, allocations: 1.75 kB / 399.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.2959, allocations: 193.5 kB / 399.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.2959, allocations: 1.922 kB / 399.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.296, allocations: 7.906 kB / 399.9 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2962, allocations: 127.7 kB / 400 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2962, allocations: 1.531 kB / 400 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2962, allocations: 0 / 400 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2962, allocations: 3.938 kB / 400 MB, free: 6.559 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.0002844/0.2965, allocations: 280 kB / 400.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2965, allocations: 12.77 kB / 400.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.2966, allocations: 34.75 kB / 400.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.2966, allocations: 8.375 kB / 400.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.2967, allocations: 110.8 kB / 400.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2967, allocations: 384 / 400.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2967, allocations: 1.656 kB / 400.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.2968, allocations: 36.19 kB / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2968, allocations: 0 / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2968, allocations: 1.875 kB / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.2968, allocations: 3.938 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.2969, allocations: 5.047 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.2971, allocations: 377.1 kB / 400.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.2972, allocations: 166 kB / 401 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.2972, allocations: 85.42 kB / 401.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2972, allocations: 75.89 kB / 401.2 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2972, allocations: 110.8 kB / 401.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2972, allocations: 0 / 401.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.892e-05/0.2973, allocations: 41.39 kB / 401.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2973, allocations: 153.7 kB / 401.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.2974, allocations: 119.7 kB / 401.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.2974, allocations: 27.2 kB / 401.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.2975, allocations: 86.69 kB / 401.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.2975, allocations: 4 kB / 401.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2975, allocations: 16.47 kB / 401.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.2975, allocations: 320.7 kB / 402.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.2975, allocations: 6 kB / 402.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.2976, allocations: 10.42 kB / 402.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.2976, allocations: 8.469 kB / 402.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2976, allocations: 3.938 kB / 402.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.2977, allocations: 48 kB / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2977, allocations: 5.75 kB / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2977, allocations: 0 / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2977, allocations: 1.953 kB / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.2978, allocations: 1.094 kB / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2978, allocations: 1.875 kB / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.2978, allocations: 0 / 402.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2978, allocations: 2.828 kB / 402.1 MB, free: 4.379 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.932e-05/0.2979, allocations: 191.8 kB / 402.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.2979, allocations: 108.3 kB / 402.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.298, allocations: 111.4 kB / 402.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.298, allocations: 178.3 kB / 402.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/0.298, allocations: 180.9 kB / 402.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.298, allocations: 178.3 kB / 403.1 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.2982, allocations: 392.9 kB / 403.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.2982, allocations: 102.8 kB / 403.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.2982, allocations: 103.4 kB / 403.7 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/0.2982, allocations: 184.2 kB / 403.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2983, allocations: 182.4 kB / 404 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/0.2983, allocations: 182.3 kB / 404.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.753e-05/0.2983, allocations: 182.7 kB / 404.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.734e-05/0.2984, allocations: 309.5 kB / 404.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.2984, allocations: 112.4 kB / 404.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.2984, allocations: 182.1 kB / 405 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.2985, allocations: 106.9 kB / 405.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.2985, allocations: 178.3 kB / 405.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2986, allocations: 106.9 kB / 405.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.2986, allocations: 95.62 kB / 405.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2986, allocations: 0 / 405.4 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.2989, allocations: 43.38 kB / 405.5 MB, free: 0.9258 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.0005699/0.2995, allocations: 0.8971 MB / 406.4 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.2995, allocations: 9.172 kB / 406.4 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2995, allocations: 0 / 406.4 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2995, allocations: 1.5 kB / 406.4 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.2999, allocations: 462.5 kB / 406.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3011, allocations: 1.353 MB / 408.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3014, allocations: 0.6799 MB / 408.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.3014, allocations: 10 kB / 408.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.3015, allocations: 15.39 kB / 408.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3015, allocations: 0 / 408.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.3352, allocations: 2.178 MB / 411.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.09, allocations: 13.2 kB / 411.1 MB, free: 12.88 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.420329789994867]