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.001355/0.001355, allocations: 116.6 kB / 18.49 MB, free: 4.578 MB / 14.72 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.001351/0.001351, allocations: 189 kB / 21.43 MB, free: 1.652 MB / 14.72 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 1.335/1.335, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 43.92 kB / 366.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08924, allocations: 52.15 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001539/0.09078, allocations: 0.4945 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.0925, allocations: 1.391 MB / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.09252, allocations: 0 / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.09254, allocations: 3.938 kB / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.22e-05/0.09256, allocations: 0 / 420.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.09315, allocations: 182.5 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.0932, allocations: 15.92 kB / 420.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.09325, allocations: 7.984 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.09328, allocations: 8 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.09333, allocations: 11.94 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.09334, allocations: 0 / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.0936, allocations: 163.8 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.09361, allocations: 7.984 kB / 420.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.09363, allocations: 7.938 kB / 420.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.09385, allocations: 115.7 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09385, allocations: 0 / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.09385, allocations: 4 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09386, allocations: 0 / 420.9 MB, free: 10.21 MB / 350.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.0003859/0.09424, allocations: 351.2 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.09428, allocations: 12.03 kB / 421.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.239e-05/0.09429, allocations: 4.125 kB / 421.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.09433, allocations: 30.75 kB / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.09435, allocations: 4.891 kB / 421.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.09449, allocations: 176.3 kB / 421.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.09451, allocations: 8.125 kB / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.09452, allocations: 0 / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.09462, allocations: 29.7 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.09463, allocations: 0 / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.09464, allocations: 0 / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09464, allocations: 0 / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.09466, allocations: 11.94 kB / 421.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.09511, allocations: 477 kB / 422 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.0952, allocations: 173.1 kB / 422.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.09524, allocations: 80.14 kB / 422.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.09527, allocations: 75.28 kB / 422.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.09533, allocations: 109.8 kB / 422.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.09533, allocations: 0 / 422.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.825e-05/0.09541, allocations: 33.64 kB / 422.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.09551, allocations: 156.4 kB / 422.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.09561, allocations: 109.9 kB / 422.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.09563, allocations: 25.7 kB / 422.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.09569, allocations: 88.08 kB / 422.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.09569, allocations: 0 / 422.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.09572, allocations: 17.72 kB / 422.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.09585, allocations: 322.8 kB / 423.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.09587, allocations: 0 / 423.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.09589, allocations: 7.984 kB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.09591, allocations: 4.859 kB / 423.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.09591, allocations: 3.938 kB / 423.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.09602, allocations: 37.7 kB / 423.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.09603, allocations: 8 kB / 423.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.09604, allocations: 0 / 423.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.09605, allocations: 128 / 423.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.0961, allocations: 4 kB / 423.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.09611, allocations: 7.969 kB / 423.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.09615, allocations: 4 kB / 423.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.09616, allocations: 3.938 kB / 423.2 MB, free: 7.621 MB / 350.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.000104/0.09626, allocations: 185.1 kB / 423.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.09634, allocations: 108.9 kB / 423.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.09639, allocations: 108.5 kB / 423.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-05/0.09647, allocations: 192.2 kB / 423.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.038e-05/0.09655, allocations: 180.2 kB / 424 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-05/0.09663, allocations: 184.3 kB / 424.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.09689, allocations: 413.1 kB / 424.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.09693, allocations: 105 kB / 424.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.09698, allocations: 105 kB / 424.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/0.09705, allocations: 188.2 kB / 424.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.09713, allocations: 176.3 kB / 425.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.489e-05/0.09721, allocations: 180.2 kB / 425.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.262e-05/0.09729, allocations: 184.5 kB / 425.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.09744, allocations: 311.7 kB / 425.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.09753, allocations: 182.1 kB / 425.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.09762, allocations: 188.2 kB / 426.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.09772, allocations: 101 kB / 426.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.0978, allocations: 180.3 kB / 426.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.09784, allocations: 112.9 kB / 426.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.0979, allocations: 91.22 kB / 426.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0979, allocations: 0 / 426.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.09818, allocations: 39.86 kB / 426.6 MB, free: 3.953 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.0006876/0.09887, allocations: 0.8755 MB / 427.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.09894, allocations: 11.88 kB / 427.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09894, allocations: 0 / 427.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.338e-06/0.09895, allocations: 4 kB / 427.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.09932, allocations: 455.8 kB / 428 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.0997, allocations: 213.8 kB / 428.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1, allocations: 0.6805 MB / 428.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1001, allocations: 15.92 kB / 428.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1001, allocations: 7.438 kB / 428.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1001, allocations: 4 kB / 428.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.118, allocations: 1.867 MB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.771, allocations: 15.14 kB / 430.8 MB, free: 15.88 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","/var/lib/jenkins1/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: 9.926606016990263]