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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 114 kB / 17.73 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 186.9 kB / 18.67 MB, free: 4.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.00117, allocations: 47.94 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07712/0.0783, allocations: 46.61 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003423/0.08176, allocations: 2.26 MB / 376.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.08295, allocations: 0.7815 MB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.08301, allocations: 4 kB / 377.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.08312, allocations: 7.938 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.08322, allocations: 7.938 kB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.08385, allocations: 211.5 kB / 377.9 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.08393, allocations: 19.97 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.08398, allocations: 8 kB / 377.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.08402, allocations: 11.88 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.08409, allocations: 11.92 kB / 378 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.08411, allocations: 7.938 kB / 378 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.08443, allocations: 191.7 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.08446, allocations: 0 / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.08449, allocations: 7.938 kB / 378.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.08473, allocations: 131.6 kB / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08474, allocations: 0 / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.08475, allocations: 0 / 378.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.08476, allocations: 4 kB / 378.3 MB, free: 1.43 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.0003425/0.08511, allocations: 359.2 kB / 378.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.08516, allocations: 8.031 kB / 378.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.847e-05/0.08519, allocations: 30.75 kB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.08523, allocations: 8.891 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.08536, allocations: 168.3 kB / 378.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-06/0.08538, allocations: 384 / 378.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.08539, allocations: 384 / 378.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.062e-05/0.08548, allocations: 45.81 kB / 378.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.08549, allocations: 4 kB / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.08551, allocations: 0 / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.08552, allocations: 0 / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.08554, allocations: 4 kB / 378.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.08586, allocations: 396 kB / 379.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.08594, allocations: 173.1 kB / 379.5 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.08599, allocations: 84.14 kB / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1597/0.2457, allocations: 75.28 kB / 379.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2457, allocations: 105.8 kB / 379.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.2457, allocations: 0 / 379.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.2459, allocations: 33.8 kB / 379.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2459, allocations: 153.2 kB / 379.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.246, allocations: 117.9 kB / 380 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.246, allocations: 29.3 kB / 380 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.2461, allocations: 89.3 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2461, allocations: 1.719 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2461, allocations: 14.89 kB / 380.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.2462, allocations: 317.7 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.2462, allocations: 8.5 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.2462, allocations: 5.484 kB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.2463, allocations: 7.641 kB / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2463, allocations: 1 kB / 380.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.2464, allocations: 43.03 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2464, allocations: 7.781 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2464, allocations: 3.688 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2464, allocations: 0 / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.2465, allocations: 4.547 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2465, allocations: 0 / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.2466, allocations: 1.406 kB / 380.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2466, allocations: 4.828 kB / 380.5 MB, free: 12.43 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.519e-05/0.2466, allocations: 188.6 kB / 380.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.2467, allocations: 107.3 kB / 380.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.2467, allocations: 114.5 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.2468, allocations: 177.1 kB / 381.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/0.2468, allocations: 182.6 kB / 381.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.2468, allocations: 183.7 kB / 381.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.247, allocations: 413.2 kB / 381.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.247, allocations: 108.2 kB / 382 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.247, allocations: 109.3 kB / 382.1 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/0.247, allocations: 177.5 kB / 382.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2471, allocations: 183 kB / 382.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.2471, allocations: 183.2 kB / 382.6 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.092e-05/0.2471, allocations: 177.1 kB / 382.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.2472, allocations: 313.4 kB / 383.1 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2472, allocations: 188.4 kB / 383.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.2473, allocations: 185.2 kB / 383.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.2473, allocations: 104.9 kB / 383.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.2474, allocations: 182 kB / 383.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2474, allocations: 107.1 kB / 383.8 MB, free: 9.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.2474, allocations: 94.17 kB / 383.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2474, allocations: 0 / 383.9 MB, free: 8.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.2478, allocations: 42.03 kB / 384 MB, free: 8.934 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.0005693/0.2484, allocations: 0.9066 MB / 384.9 MB, free: 8.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.2485, allocations: 8.625 kB / 384.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2485, allocations: 0 / 384.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.2485, allocations: 1.312 kB / 384.9 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2487, allocations: 458.6 kB / 385.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.2495, allocations: 1.348 MB / 386.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.2496, allocations: 0.6818 MB / 387.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.2496, allocations: 9.891 kB / 387.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.2497, allocations: 10.55 kB / 387.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2497, allocations: 0 / 387.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.267, allocations: 2.077 MB / 389.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.517, allocations: 4.969 kB / 389.5 MB, free: 5.082 MB / 318.1 MB (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) 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) Reference file matches