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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9088/0.9088, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 318.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.726e-05, allocations: 5.516 kB / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001683/0.00171, allocations: 0.497 MB / 318.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.00368, allocations: 1.337 MB / 320.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.003707, allocations: 0 / 320.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.003726, allocations: 0 / 320.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.003758, allocations: 7.938 kB / 320.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.004516, allocations: 186.3 kB / 320.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.00458, allocations: 15.94 kB / 320.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.004632, allocations: 0 / 320.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.004703, allocations: 15.97 kB / 320.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.004767, allocations: 8 kB / 320.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.004787, allocations: 0 / 320.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.005059, allocations: 159.7 kB / 320.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.005074, allocations: 4 kB / 320.6 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.005097, allocations: 7.984 kB / 320.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.005364, allocations: 147.7 kB / 320.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.00537, allocations: 0 / 320.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005371, allocations: 3.938 kB / 320.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005376, allocations: 0 / 320.8 MB, free: 3.859 MB / 282.7 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.0003594/0.005736, allocations: 273.5 kB / 321.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.005787, allocations: 12.92 kB / 321.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.005828, allocations: 34.75 kB / 321.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.005862, allocations: 8.891 kB / 321.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.005963, allocations: 105.8 kB / 321.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.005975, allocations: 384 / 321.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.005983, allocations: 384 / 321.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.006118, allocations: 67.7 kB / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.006128, allocations: 0 / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006138, allocations: 0 / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.006143, allocations: 0 / 321.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.006171, allocations: 4 kB / 321.3 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.006615, allocations: 374.9 kB / 321.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.006697, allocations: 173.1 kB / 321.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.006731, allocations: 84.14 kB / 321.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.006754, allocations: 75.28 kB / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.006799, allocations: 105.8 kB / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.0068, allocations: 0 / 322.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 8.667e-05/0.006887, allocations: 37.59 kB / 322.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.006954, allocations: 152.4 kB / 322.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.007067, allocations: 109.8 kB / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.007081, allocations: 29.7 kB / 322.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.007134, allocations: 80.14 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.007138, allocations: 4 kB / 322.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.007242, allocations: 17.7 kB / 322.5 MB, free: 1.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.007318, allocations: 318.8 kB / 322.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.007342, allocations: 0 / 322.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.007376, allocations: 33.64 kB / 322.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.007407, allocations: 16.73 kB / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.00741, allocations: 0 / 322.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001082/0.007518, allocations: 37.62 kB / 322.9 MB, free: 1.531 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007532, allocations: 8 kB / 322.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007537, allocations: 4.125 kB / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.00755, allocations: 0 / 322.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.007614, allocations: 4 kB / 322.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007619, allocations: 0 / 322.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.007663, allocations: 7.953 kB / 322.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007671, allocations: 0 / 322.9 MB, free: 1.508 MB / 282.7 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 7.108e-05/0.007742, allocations: 189.1 kB / 323.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.007778, allocations: 108.9 kB / 323.2 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.007813, allocations: 108.5 kB / 323.3 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.007852, allocations: 180.2 kB / 323.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-05/0.007894, allocations: 192.2 kB / 323.7 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/0.00793, allocations: 176.3 kB / 323.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.008076, allocations: 384.2 kB / 324.2 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.00811, allocations: 101.4 kB / 324.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.008135, allocations: 113 kB / 324.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.931e-05/0.008175, allocations: 184.2 kB / 324.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.008217, allocations: 180.3 kB / 324.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.73e-05/0.008254, allocations: 184.2 kB / 325 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.008291, allocations: 176.3 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.206e-05/0.008383, allocations: 311.7 kB / 325.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.00841, allocations: 105 kB / 325.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.008456, allocations: 184.2 kB / 325.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.008516, allocations: 105 kB / 325.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.008559, allocations: 184.2 kB / 326 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.008582, allocations: 104.9 kB / 326.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.008623, allocations: 87.28 kB / 326.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008623, allocations: 0 / 326.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.00882, allocations: 39.92 kB / 326.2 MB, free: 13.98 MB / 298.7 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.0004865/0.009307, allocations: 0.9011 MB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.009375, allocations: 7.938 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009377, allocations: 0 / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.009379, allocations: 4 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.009623, allocations: 455.7 kB / 327.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.009901, allocations: 209.8 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.00994, allocations: 59.34 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.231e-05/0.01003, allocations: 16.05 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.01006, allocations: 8.5 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01006, allocations: 0 / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.0262, allocations: 2.495 MB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.815, allocations: 10.77 kB / 330.4 MB, free: 9.875 MB / 298.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.561812221072614]