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.002081/0.002081, allocations: 100.3 kB / 17.58 MB, free: 5.418 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.002264/0.002264, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.643/2.643, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.002259/0.002259, allocations: 51.91 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.006108/0.1331, allocations: 2.264 MB / 329.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1352, allocations: 0.7777 MB / 330.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.1354, allocations: 0 / 330.4 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1355, allocations: 7.938 kB / 330.4 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1356, allocations: 7.938 kB / 330.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/0.1365, allocations: 207.8 kB / 330.6 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.45e-05/0.1366, allocations: 15.98 kB / 330.7 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.1367, allocations: 7.984 kB / 330.7 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.1367, allocations: 11.88 kB / 330.7 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.1368, allocations: 19.92 kB / 330.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1369, allocations: 0 / 330.7 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.1372, allocations: 139.8 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1373, allocations: 7.984 kB / 330.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1373, allocations: 7.938 kB / 330.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1376, allocations: 123.8 kB / 331 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1377, allocations: 3.984 kB / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1377, allocations: 0 / 331 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1377, allocations: 4 kB / 331 MB, free: 0.75 MB / 270.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.0005877/0.1383, allocations: 351.4 kB / 331.3 MB, free: 368 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.1384, allocations: 12.03 kB / 331.3 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.1384, allocations: 34.75 kB / 331.4 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.1385, allocations: 8.844 kB / 331.4 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1387, allocations: 168.3 kB / 331.5 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1387, allocations: 384 / 331.5 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1388, allocations: 4.375 kB / 331.5 MB, free: 92 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1389, allocations: 33.83 kB / 331.6 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1389, allocations: 3.984 kB / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1389, allocations: 0 / 331.6 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.139, allocations: 4 kB / 331.6 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.139, allocations: 11.98 kB / 331.6 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.1396, allocations: 388 kB / 332 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1397, allocations: 177.1 kB / 332.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1398, allocations: 84.12 kB / 332.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1398, allocations: 79.28 kB / 332.3 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.1399, allocations: 109.8 kB / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.1399, allocations: 0 / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001185/0.14, allocations: 37.55 kB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/0.1401, allocations: 152.4 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1403, allocations: 113.8 kB / 332.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1403, allocations: 25.7 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1404, allocations: 96.12 kB / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.1404, allocations: 7.875 kB / 332.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.1405, allocations: 17.7 kB / 332.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1407, allocations: 314.8 kB / 333.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.1407, allocations: 8 kB / 333.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.1408, allocations: 7.984 kB / 333.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.1408, allocations: 4.859 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1408, allocations: 4.094 kB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001754/0.141, allocations: 45.64 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.141, allocations: 4 kB / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.141, allocations: 0 / 333.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1411, allocations: 3.984 kB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.1412, allocations: 4 kB / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1412, allocations: 0 / 333.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1412, allocations: 7.844 kB / 333.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1413, allocations: 0 / 333.2 MB, free: 14.23 MB / 286.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.0001619/0.1414, allocations: 193.1 kB / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1416, allocations: 101 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.1417, allocations: 124.2 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001061/0.1418, allocations: 176.3 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/0.1419, allocations: 180.2 kB / 334 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.142, allocations: 180.3 kB / 334.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1424, allocations: 409.2 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001249/0.1426, allocations: 112.9 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.1426, allocations: 105 kB / 334.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.1428, allocations: 180.2 kB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.55e-05/0.1429, allocations: 180.3 kB / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.393e-05/0.143, allocations: 184.3 kB / 335.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.4e-05/0.1431, allocations: 180.2 kB / 335.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1433, allocations: 311.7 kB / 335.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1434, allocations: 178.1 kB / 336 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.1436, allocations: 188.2 kB / 336.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1438, allocations: 104.9 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.1439, allocations: 176.3 kB / 336.4 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.144, allocations: 108.9 kB / 336.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.1441, allocations: 95.27 kB / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.256e-06/0.1441, allocations: 0 / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.1447, allocations: 43.94 kB / 336.7 MB, free: 10.57 MB / 286.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.001208/0.146, allocations: 0.9051 MB / 337.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1461, allocations: 11.94 kB / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1461, allocations: 0 / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.1461, allocations: 0 / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.1467, allocations: 459.7 kB / 338 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1485, allocations: 1.35 MB / 339.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.149, allocations: 0.6768 MB / 340.1 MB, free: 7.051 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.149, allocations: 4 kB / 340.1 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1491, allocations: 11.44 kB / 340.1 MB, free: 7.035 MB / 286.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1491, allocations: 0 / 340.1 MB, free: 7.035 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.1797, allocations: 2.048 MB / 342.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/11.95, allocations: 7.75 kB / 342.1 MB, free: 4.926 MB / 286.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