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.001224/0.001224, allocations: 114.5 kB / 17.73 MB, free: 5.301 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.001188/0.001188, allocations: 187 kB / 18.66 MB, free: 4.375 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.315/1.315, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001578/0.001578, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.0848, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003444/0.08829, allocations: 2.268 MB / 376.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.08958, allocations: 0.7815 MB / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.08963, allocations: 0 / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.378e-05/0.08973, allocations: 7.938 kB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.08984, allocations: 4 kB / 377.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.09045, allocations: 211.5 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.649e-05/0.09053, allocations: 23.91 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.09058, allocations: 4 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.09062, allocations: 7.938 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.09069, allocations: 15.92 kB / 378 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.09071, allocations: 4 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.09101, allocations: 183.7 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.09103, allocations: 3.984 kB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.09106, allocations: 7.938 kB / 378.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.0913, allocations: 139.5 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09132, allocations: 0 / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09132, allocations: 0 / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.09133, allocations: 0 / 378.3 MB, free: 1.414 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.0003955/0.09173, allocations: 359.2 kB / 378.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.09178, allocations: 8.031 kB / 378.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.09182, allocations: 34.75 kB / 378.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.09185, allocations: 4.891 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.092, allocations: 164.4 kB / 378.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.09202, allocations: 384 / 378.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-06/0.09203, allocations: 4.375 kB / 378.8 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.09213, allocations: 49.75 kB / 378.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.09214, allocations: 0 / 378.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.09215, allocations: 3.938 kB / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.09216, allocations: 0 / 378.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.09219, allocations: 4 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.09255, allocations: 396 kB / 379.3 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.09266, allocations: 173.1 kB / 379.5 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.169/0.2616, allocations: 80.14 kB / 379.5 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2617, allocations: 77.34 kB / 379.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2617, allocations: 105.8 kB / 379.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.2617, allocations: 0 / 379.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001037/0.2619, allocations: 33.34 kB / 379.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2619, allocations: 154.5 kB / 379.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.262, allocations: 115.5 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.262, allocations: 28.14 kB / 380 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2621, allocations: 88.39 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.2621, allocations: 1.25 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2621, allocations: 17.81 kB / 380.1 MB, free: 12.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.2622, allocations: 317.8 kB / 380.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.2622, allocations: 3.109 kB / 380.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.2622, allocations: 8.25 kB / 380.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.2623, allocations: 10.39 kB / 380.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2623, allocations: 4.219 kB / 380.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.2624, allocations: 45.36 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2624, allocations: 5.344 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2624, allocations: 0.6094 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2624, allocations: 0.9375 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.2625, allocations: 6.203 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2625, allocations: 0 / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.2626, allocations: 1.984 kB / 380.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2626, allocations: 4.562 kB / 380.5 MB, free: 12.36 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.259e-05/0.2626, allocations: 187.2 kB / 380.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.2627, allocations: 109.1 kB / 380.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.2627, allocations: 112.8 kB / 380.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/0.2628, allocations: 179.8 kB / 381.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.2628, allocations: 181.1 kB / 381.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.2628, allocations: 180.1 kB / 381.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.263, allocations: 419.2 kB / 381.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.263, allocations: 107.4 kB / 382 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.263, allocations: 105.9 kB / 382.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/0.263, allocations: 181.7 kB / 382.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2631, allocations: 177 kB / 382.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/0.2631, allocations: 185.5 kB / 382.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/0.2631, allocations: 179.9 kB / 382.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.91e-05/0.2632, allocations: 309.4 kB / 383.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.2632, allocations: 189.7 kB / 383.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2633, allocations: 178.8 kB / 383.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.2634, allocations: 103.8 kB / 383.6 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.2634, allocations: 184.2 kB / 383.7 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2634, allocations: 107.6 kB / 383.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.2635, allocations: 97.02 kB / 383.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2635, allocations: 0 / 383.9 MB, free: 8.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.2638, allocations: 44.62 kB / 384 MB, free: 8.875 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.0006289/0.2644, allocations: 0.9116 MB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.2645, allocations: 5.531 kB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2645, allocations: 1.156 kB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2645, allocations: 3.938 kB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2647, allocations: 458.6 kB / 385.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.2654, allocations: 1.343 MB / 386.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.595e-05/0.2656, allocations: 0.6754 MB / 387.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.2656, allocations: 11.02 kB / 387.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.2656, allocations: 12.52 kB / 387.4 MB, free: 5.613 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2656, allocations: 4 kB / 387.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.2886, allocations: 2.078 MB / 389.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.061, allocations: 6.125 kB / 389.5 MB, free: 5.016 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