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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.00163/0.001631, allocations: 198.8 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2577, allocations: 49.44 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001505/0.2592, allocations: 0.4992 MB / 400.7 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2609, allocations: 1.383 MB / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.261, allocations: 0 / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.261, allocations: 3.938 kB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.344e-05/0.261, allocations: 0 / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.2617, allocations: 179.4 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.2617, allocations: 11.98 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.2618, allocations: 8 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.723e-05/0.2618, allocations: 11.98 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.2619, allocations: 15.92 kB / 402.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2619, allocations: 7.875 kB / 402.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.2621, allocations: 155.8 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.2622, allocations: 7.984 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2622, allocations: 3.938 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2624, allocations: 118.7 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2624, allocations: 0 / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2624, allocations: 3.938 kB / 402.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2624, allocations: 8 kB / 402.6 MB, free: 6.383 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.0003232/0.2627, allocations: 347.3 kB / 403 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2628, allocations: 12.03 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.2628, allocations: 30.75 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.2629, allocations: 4.891 kB / 403 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.263, allocations: 164.4 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.263, allocations: 384 / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.263, allocations: 3.938 kB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.2631, allocations: 37.69 kB / 403.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2631, allocations: 4 kB / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.2631, allocations: 0 / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2631, allocations: 0 / 403.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.2632, allocations: 7.938 kB / 403.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.2636, allocations: 473 kB / 403.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.2636, allocations: 177.1 kB / 403.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.2637, allocations: 80.14 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2637, allocations: 75.28 kB / 404 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.2638, allocations: 105.8 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2638, allocations: 0 / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.517e-05/0.2638, allocations: 33.64 kB / 404.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.2639, allocations: 152.4 kB / 404.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.264, allocations: 113.8 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.264, allocations: 29.7 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.2641, allocations: 88.08 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.2641, allocations: 0 / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.2641, allocations: 17.7 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.2643, allocations: 318.8 kB / 404.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.2643, allocations: 4 kB / 404.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.2643, allocations: 8 kB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.2643, allocations: 8.797 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2643, allocations: 3.938 kB / 404.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.2645, allocations: 37.69 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2645, allocations: 4 kB / 404.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2645, allocations: 4 kB / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2645, allocations: 0 / 404.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.2646, allocations: 7.938 kB / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2646, allocations: 0 / 404.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.2646, allocations: 4.125 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2646, allocations: 4 kB / 404.9 MB, free: 3.809 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 9.427e-05/0.2647, allocations: 185.1 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.2648, allocations: 116.9 kB / 405.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.2649, allocations: 104.5 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/0.2649, allocations: 184.3 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/0.265, allocations: 188.2 kB / 405.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/0.2651, allocations: 176.3 kB / 405.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.2653, allocations: 413.1 kB / 406.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/0.2653, allocations: 105 kB / 406.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2654, allocations: 101 kB / 406.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-05/0.2654, allocations: 184.2 kB / 406.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/0.2655, allocations: 184.3 kB / 406.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.674e-05/0.2656, allocations: 180.2 kB / 407 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-05/0.2656, allocations: 180.5 kB / 407.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.2658, allocations: 311.7 kB / 407.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.2658, allocations: 186.3 kB / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.2659, allocations: 184.2 kB / 407.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.266, allocations: 109 kB / 408 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.2661, allocations: 180.3 kB / 408.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.2661, allocations: 108.9 kB / 408.2 MB, free: 280 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.2662, allocations: 87.27 kB / 408.3 MB, free: 192 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2662, allocations: 4 kB / 408.3 MB, free: 188 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.2665, allocations: 43.81 kB / 408.4 MB, free: 144 kB / 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.0006678/0.2672, allocations: 0.882 MB / 409.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.2672, allocations: 15.92 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2673, allocations: 0 / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.2673, allocations: 0 / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2676, allocations: 458.8 kB / 409.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.268, allocations: 213.9 kB / 409.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.2682, allocations: 0.6766 MB / 410.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.2683, allocations: 15.97 kB / 410.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2683, allocations: 7.438 kB / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2684, allocations: 0 / 410.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.2858, allocations: 1.816 MB / 412.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.672, allocations: 0.625 kB / 412.5 MB, free: 12.11 MB / 334.1 MB (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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches