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.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.000777/0.000777, allocations: 79.7 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003194/0.003194, allocations: 167 kB / 24.69 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8916/0.8916, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/3.019e-05, allocations: 6.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.004051/0.004082, allocations: 2.132 MB / 300.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.00546, allocations: 0.7262 MB / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.005508, allocations: 0 / 301.3 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.005632, allocations: 7.938 kB / 301.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.005777, allocations: 3.984 kB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.006576, allocations: 223.2 kB / 301.5 MB, free: 420 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.006675, allocations: 15.94 kB / 301.5 MB, free: 404 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.006725, allocations: 3.984 kB / 301.5 MB, free: 400 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.006793, allocations: 15.94 kB / 301.5 MB, free: 384 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.516e-05/0.006878, allocations: 11.97 kB / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.006897, allocations: 0 / 301.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.007209, allocations: 175.7 kB / 301.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.007224, allocations: 4 kB / 301.7 MB, free: 192 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.007246, allocations: 3.984 kB / 301.7 MB, free: 188 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.007555, allocations: 155.6 kB / 301.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.007561, allocations: 7.938 kB / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.007564, allocations: 0 / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007569, allocations: 0 / 301.9 MB, free: 24 kB / 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.1577/0.1652, allocations: 276.5 kB / 302.2 MB, free: 16.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1653, allocations: 14.7 kB / 302.2 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.1653, allocations: 35.25 kB / 302.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1653, allocations: 3.562 kB / 302.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.127e-05/0.1654, allocations: 111.2 kB / 302.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1654, allocations: 384 / 302.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.1654, allocations: 4 kB / 302.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1655, allocations: 61.36 kB / 302.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1656, allocations: 192 / 302.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1656, allocations: 4.266 kB / 302.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1656, allocations: 5.094 kB / 302.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.1656, allocations: 7 kB / 302.4 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.1658, allocations: 363.9 kB / 302.8 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.1659, allocations: 169.3 kB / 302.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.1659, allocations: 81.77 kB / 303 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.1659, allocations: 79.09 kB / 303.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1659, allocations: 118.7 kB / 303.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.1659, allocations: 0 / 303.2 MB, free: 14.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.542e-05/0.166, allocations: 36.27 kB / 303.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.166, allocations: 154.1 kB / 303.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.1661, allocations: 119.5 kB / 303.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.1661, allocations: 26.98 kB / 303.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.1662, allocations: 85.62 kB / 303.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.1662, allocations: 1.125 kB / 303.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1662, allocations: 15.75 kB / 303.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.1662, allocations: 317.1 kB / 303.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.1662, allocations: 5.516 kB / 303.9 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.1663, allocations: 33.05 kB / 304 MB, free: 14.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.1663, allocations: 10.59 kB / 304 MB, free: 14.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1663, allocations: 3.578 kB / 304 MB, free: 14.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.666e-05/0.1664, allocations: 44.45 kB / 304 MB, free: 14.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1664, allocations: 4.594 kB / 304 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1664, allocations: 0 / 304 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1664, allocations: 0 / 304 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1665, allocations: 8.609 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1665, allocations: 1.188 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.1665, allocations: 5.391 kB / 304.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1665, allocations: 6.688 kB / 304.1 MB, free: 14.15 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 4.854e-05/0.1666, allocations: 188.2 kB / 304.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1666, allocations: 108.4 kB / 304.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.1666, allocations: 110.4 kB / 304.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.1666, allocations: 178.5 kB / 304.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.1667, allocations: 182.8 kB / 304.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.1667, allocations: 183.9 kB / 305 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.1668, allocations: 380.7 kB / 305.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.1668, allocations: 105.8 kB / 305.5 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.1668, allocations: 104.9 kB / 305.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.1668, allocations: 187.4 kB / 305.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1668, allocations: 178.7 kB / 305.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/0.1668, allocations: 178.8 kB / 306.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.601e-05/0.1669, allocations: 188.5 kB / 306.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.519e-05/0.1669, allocations: 306.9 kB / 306.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.1669, allocations: 111 kB / 306.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.167, allocations: 186 kB / 306.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.167, allocations: 106.9 kB / 307 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.167, allocations: 178.1 kB / 307.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1671, allocations: 106.7 kB / 307.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.1671, allocations: 97.39 kB / 307.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1671, allocations: 0 / 307.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.1673, allocations: 51.09 kB / 307.4 MB, free: 10.76 MB / 282.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.0006478/0.1679, allocations: 0.9019 MB / 308.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.126e-05/0.168, allocations: 12.33 kB / 308.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.168, allocations: 4.969 kB / 308.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.168, allocations: 0 / 308.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1682, allocations: 457.1 kB / 308.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.169, allocations: 1.355 MB / 310.1 MB, free: 8.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.169, allocations: 59.92 kB / 310.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.344e-05/0.169, allocations: 11.52 kB / 310.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.1691, allocations: 13.11 kB / 310.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1691, allocations: 0 / 310.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.1883, allocations: 2.763 MB / 313 MB, free: 6.914 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.975, allocations: 9.109 kB / 313 MB, free: 6.906 MB / 282.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.637103203684092]