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.001648/0.001648, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002115/0.002115, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.397/1.397, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.001474/0.001474, allocations: 51.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 53.35 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001593/0.2479, allocations: 0.5123 MB / 431.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2498, allocations: 1.47 MB / 433.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.2499, allocations: 0 / 433.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2499, allocations: 0 / 433.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.611e-05/0.2499, allocations: 3.938 kB / 433.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.2505, allocations: 188.2 kB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.2506, allocations: 11.94 kB / 433.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.2506, allocations: 4 kB / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.2507, allocations: 15.92 kB / 433.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.2507, allocations: 11.98 kB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2507, allocations: 0 / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.251, allocations: 171.8 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.251, allocations: 4 kB / 433.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.2511, allocations: 11.92 kB / 433.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.2513, allocations: 120.1 kB / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2513, allocations: 0 / 433.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2513, allocations: 4 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2513, allocations: 0 / 433.6 MB, free: 4.359 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.0003399/0.2516, allocations: 278.2 kB / 433.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2517, allocations: 12.02 kB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2517, allocations: 30.75 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2518, allocations: 4.938 kB / 434 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2519, allocations: 110.5 kB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2519, allocations: 384 / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.252, allocations: 7.875 kB / 434.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.2521, allocations: 33.69 kB / 434.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2521, allocations: 4 kB / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2521, allocations: 0 / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2521, allocations: 0 / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.2521, allocations: 4 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.2525, allocations: 363 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2526, allocations: 173.1 kB / 434.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.2526, allocations: 88.12 kB / 434.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.2527, allocations: 79.22 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.2527, allocations: 109.8 kB / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2527, allocations: 0 / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.492e-05/0.2528, allocations: 29.66 kB / 434.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.2529, allocations: 152.4 kB / 435.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.253, allocations: 121.8 kB / 435.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.253, allocations: 25.7 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.2531, allocations: 88.02 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.2531, allocations: 0 / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.2531, allocations: 21.7 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2533, allocations: 318.8 kB / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.2533, allocations: 256 / 435.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.2533, allocations: 4 kB / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.2533, allocations: 12.95 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2533, allocations: 4 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.2535, allocations: 41.64 kB / 435.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2535, allocations: 8 kB / 435.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2535, allocations: 3.984 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2535, allocations: 3.938 kB / 435.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.2535, allocations: 4 kB / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2536, allocations: 0 / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.2536, allocations: 0 / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2536, allocations: 4.031 kB / 435.7 MB, free: 2.059 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.0001429/0.2537, allocations: 189.1 kB / 435.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.2538, allocations: 105 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.2539, allocations: 116.4 kB / 436.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/0.2539, allocations: 176.3 kB / 436.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.309e-05/0.254, allocations: 180.3 kB / 436.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/0.2541, allocations: 180.2 kB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2544, allocations: 380.2 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.426e-05/0.2544, allocations: 108.9 kB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.2545, allocations: 105 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.829e-05/0.2545, allocations: 176.3 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.2546, allocations: 188.2 kB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.252e-05/0.2547, allocations: 180.5 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.887e-05/0.2548, allocations: 188.2 kB / 437.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.255, allocations: 307.7 kB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.255, allocations: 112.9 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.2551, allocations: 180.3 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2552, allocations: 108.9 kB / 438.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.2553, allocations: 176.3 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.2553, allocations: 101 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.2554, allocations: 87.28 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2554, allocations: 3.938 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2557, allocations: 51.86 kB / 439.1 MB, free: 14.53 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.000689/0.2564, allocations: 0.8656 MB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.2564, allocations: 11.98 kB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2564, allocations: 0 / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.2564, allocations: 3.938 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.2568, allocations: 459.7 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.2572, allocations: 201.8 kB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.2575, allocations: 0.6768 MB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.2576, allocations: 15.97 kB / 441.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.2576, allocations: 11.44 kB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2576, allocations: 0 / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.2858, allocations: 1.982 MB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.05, allocations: 11.48 kB / 443.3 MB, free: 10.36 MB / 350.1 MB " [Timeout remaining time 649] (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.401436006999575]