Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002264/0.002264, allocations: 212.4 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 51.86 kB / 377.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2641, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001621/0.2658, allocations: 0.4967 MB / 431.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.2678, allocations: 1.404 MB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.2678, allocations: 0 / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.2678, allocations: 0 / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.2678, allocations: 7.938 kB / 433 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.2685, allocations: 186.7 kB / 433.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.997e-05/0.2685, allocations: 15.98 kB / 433.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.2686, allocations: 4 kB / 433.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.2686, allocations: 4 kB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.2687, allocations: 15.91 kB / 433.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2687, allocations: 4 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.269, allocations: 165.6 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.269, allocations: 4 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.269, allocations: 7.938 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.2692, allocations: 120.1 kB / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2692, allocations: 0 / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2692, allocations: 0 / 433.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2692, allocations: 7.938 kB / 433.5 MB, free: 4.23 MB / 334.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.0004291/0.2697, allocations: 274.2 kB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2697, allocations: 8.031 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2698, allocations: 34.75 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.2699, allocations: 4.938 kB / 433.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.27, allocations: 114.5 kB / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.27, allocations: 384 / 433.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.27, allocations: 3.938 kB / 433.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.2701, allocations: 59.39 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2701, allocations: 0 / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2702, allocations: 0 / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2702, allocations: 0 / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.2702, allocations: 4 kB / 434 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2706, allocations: 367 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2707, allocations: 177.1 kB / 434.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.2708, allocations: 84.14 kB / 434.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.2708, allocations: 75.28 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/0.2709, allocations: 109.8 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2709, allocations: 0 / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 8.528e-05/0.271, allocations: 37.59 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.271, allocations: 152.4 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2712, allocations: 113.8 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2712, allocations: 29.64 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.2712, allocations: 88.08 kB / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.2712, allocations: 0 / 435.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2713, allocations: 21.7 kB / 435.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2714, allocations: 318.8 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.2714, allocations: 0 / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.2715, allocations: 33.7 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.2715, allocations: 8.859 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2715, allocations: 0 / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001222/0.2716, allocations: 49.52 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2716, allocations: 4 kB / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2716, allocations: 0 / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2717, allocations: 0 / 435.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.2717, allocations: 8.125 kB / 435.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2717, allocations: 0 / 435.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.2717, allocations: 0 / 435.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2717, allocations: 0 / 435.6 MB, free: 1.879 MB / 334.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 0.0001234/0.2719, allocations: 193.1 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.272, allocations: 109 kB / 435.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.272, allocations: 108.4 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-05/0.2721, allocations: 176.3 kB / 436.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.368e-05/0.2722, allocations: 184.2 kB / 436.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.203e-05/0.2723, allocations: 176.3 kB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2725, allocations: 380.2 kB / 436.9 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/0.2726, allocations: 108.9 kB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.2726, allocations: 109 kB / 437.1 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/0.2727, allocations: 184.2 kB / 437.3 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.2728, allocations: 180.3 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.507e-05/0.2729, allocations: 180.5 kB / 437.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.832e-05/0.273, allocations: 184.2 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2732, allocations: 311.7 kB / 438.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.2732, allocations: 109 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-05/0.2733, allocations: 176.3 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2734, allocations: 108.9 kB / 438.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.2735, allocations: 184.2 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.2735, allocations: 109.2 kB / 438.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.2736, allocations: 91.28 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2736, allocations: 0 / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.2739, allocations: 43.86 kB / 439 MB, free: 14.34 MB / 350.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.0007645/0.2747, allocations: 0.8676 MB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.2747, allocations: 15.88 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2747, allocations: 4.062 kB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.2747, allocations: 0 / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.2752, allocations: 462.2 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.2756, allocations: 209.8 kB / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.2757, allocations: 55.36 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.2758, allocations: 15.95 kB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.2758, allocations: 11.44 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2758, allocations: 0 / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.3064, allocations: 2.394 MB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.42, allocations: 11.33 kB / 443 MB, free: 10.38 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.89952679630369]