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.004559/0.004559, allocations: 114.5 kB / 21.97 MB, free: 5.227 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.001347/0.001347, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 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 1.244/1.244, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 47.92 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2141, allocations: 49.17 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002566/0.2166, allocations: 2.275 MB / 399.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.2175, allocations: 0.7936 MB / 400.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.2176, allocations: 0 / 400.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.442e-05/0.2176, allocations: 7.734 kB / 400.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.2177, allocations: 6.641 kB / 400.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.2182, allocations: 206 kB / 400.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.2183, allocations: 23.94 kB / 400.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.2183, allocations: 3.75 kB / 400.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.2183, allocations: 17.22 kB / 400.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.2184, allocations: 16.55 kB / 400.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.2184, allocations: 1.094 kB / 400.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2187, allocations: 186.2 kB / 400.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.2187, allocations: 10.42 kB / 400.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.2187, allocations: 6.797 kB / 400.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2189, allocations: 125 kB / 400.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2189, allocations: 0 / 400.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2189, allocations: 5.156 kB / 400.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2189, allocations: 0.5625 kB / 400.8 MB, free: 6.59 MB / 318.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.0002346/0.2191, allocations: 282.4 kB / 401.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.2192, allocations: 13.3 kB / 401.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.429e-05/0.2192, allocations: 192 / 401.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.536e-05/0.2192, allocations: 36.09 kB / 401.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.2192, allocations: 6.266 kB / 401.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.789e-05/0.2193, allocations: 110.7 kB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.2193, allocations: 1.844 kB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-06/0.2193, allocations: 1.359 kB / 401.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.2194, allocations: 39.97 kB / 401.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.2194, allocations: 0 / 401.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2194, allocations: 0.6562 kB / 401.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2194, allocations: 5.484 kB / 401.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.2194, allocations: 12.27 kB / 401.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2196, allocations: 365.5 kB / 401.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.332e-05/0.2196, allocations: 174.4 kB / 401.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.2197, allocations: 80.14 kB / 401.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.2197, allocations: 76.53 kB / 402 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2197, allocations: 111.9 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2197, allocations: 0 / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 5.737e-05/0.2197, allocations: 35.83 kB / 402.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2198, allocations: 157.4 kB / 402.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.2198, allocations: 124.1 kB / 402.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.2198, allocations: 27.17 kB / 402.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.2199, allocations: 87.53 kB / 402.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.2199, allocations: 0 / 402.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.2199, allocations: 15.06 kB / 402.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.2199, allocations: 318 kB / 402.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.22, allocations: 7.031 kB / 402.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.22, allocations: 8.141 kB / 402.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.22, allocations: 12.23 kB / 402.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.22, allocations: 3.938 kB / 402.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.49e-05/0.2201, allocations: 45.28 kB / 402.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2201, allocations: 4.531 kB / 402.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2201, allocations: 5.391 kB / 402.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.2201, allocations: 0 / 402.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/0.2201, allocations: 3.328 kB / 402.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2201, allocations: 0 / 402.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.416e-05/0.2202, allocations: 5.156 kB / 402.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2202, allocations: 1.797 kB / 402.9 MB, free: 4.398 MB / 318.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 4.666e-05/0.2202, allocations: 188.7 kB / 403.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2203, allocations: 107.4 kB / 403.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.2203, allocations: 112.3 kB / 403.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.2203, allocations: 176.9 kB / 403.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/0.2203, allocations: 186.1 kB / 403.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.2204, allocations: 182 kB / 403.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2205, allocations: 385.9 kB / 404.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.2205, allocations: 103.7 kB / 404.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.2205, allocations: 104.9 kB / 404.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.2205, allocations: 178.6 kB / 404.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.2205, allocations: 185.7 kB / 404.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/0.2205, allocations: 186.7 kB / 405 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-05/0.2206, allocations: 176.9 kB / 405.2 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.457e-05/0.2206, allocations: 310.5 kB / 405.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.2206, allocations: 111.8 kB / 405.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2207, allocations: 182.5 kB / 405.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.2207, allocations: 102.8 kB / 405.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.2207, allocations: 182.3 kB / 406 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2208, allocations: 103 kB / 406.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.2208, allocations: 95.77 kB / 406.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2208, allocations: 4 kB / 406.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2211, allocations: 42.75 kB / 406.3 MB, free: 0.9492 MB / 318.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.0004728/0.2215, allocations: 0.9015 MB / 407.2 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.06e-05/0.2216, allocations: 9.547 kB / 407.2 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2216, allocations: 0 / 407.2 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.2216, allocations: 1.406 kB / 407.2 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.222, allocations: 461.8 kB / 407.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.223, allocations: 1.36 MB / 409 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2233, allocations: 0.6748 MB / 409.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.788e-05/0.2234, allocations: 6.531 kB / 409.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.2234, allocations: 11 kB / 409.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2234, allocations: 0 / 409.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.2469, allocations: 2.221 MB / 411.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.935/10.18, allocations: 10.81 kB / 411.9 MB, free: 12.86 MB / 334.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.232250268978532]