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.001055/0.001055, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002637, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001011/0.001011, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002537, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9332/0.9332, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08216/1.015, allocations: 52.51 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_zero",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.077e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001075/0.001095, allocations: 0.5557 MB / 240.1 MB, free: 2.625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002363, allocations: 1.394 MB / 241.5 MB, free: 1.215 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.002385, allocations: 0 / 241.5 MB, free: 1.215 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.642e-06/0.002392, allocations: 7.875 kB / 241.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.328e-06/0.002401, allocations: 4 kB / 241.5 MB, free: 1.203 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.002817, allocations: 147.5 kB / 241.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.002872, allocations: 11.94 kB / 241.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.002914, allocations: 11.97 kB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.002977, allocations: 12 kB / 241.7 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.003041, allocations: 15.92 kB / 241.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003057, allocations: 0 / 241.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.0033, allocations: 171.7 kB / 241.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.00331, allocations: 4 kB / 241.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.177e-05/0.003322, allocations: 0 / 241.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.00349, allocations: 123.6 kB / 242 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.003505, allocations: 0 / 242 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003506, allocations: 4 kB / 242 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.003521, allocations: 0 / 242 MB, free: 0.7109 MB / 234.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.0002959/0.003817, allocations: 272.4 kB / 242.3 MB, free: 432 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.003847, allocations: 8.031 kB / 242.3 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.003874, allocations: 0.9375 kB / 242.3 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.003956, allocations: 109.8 kB / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.003965, allocations: 384 / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.003972, allocations: 384 / 242.4 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.004056, allocations: 59.95 kB / 242.4 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.004063, allocations: 3.938 kB / 242.4 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.00407, allocations: 0 / 242.4 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004075, allocations: 0 / 242.4 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.321e-05/0.004088, allocations: 11.94 kB / 242.5 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.004441, allocations: 320 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.004496, allocations: 169.1 kB / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.004517, allocations: 84.08 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.004534, allocations: 79.28 kB / 243.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.004827, allocations: 109.8 kB / 243.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.004828, allocations: 0 / 243.2 MB, free: 15.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.185e-05/0.00488, allocations: 33.64 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.004925, allocations: 134.7 kB / 243.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.005, allocations: 102.7 kB / 243.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005012, allocations: 29.7 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.005051, allocations: 100 kB / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.005053, allocations: 0 / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.005078, allocations: 17.72 kB / 243.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.00514, allocations: 310.8 kB / 243.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.005147, allocations: 4 kB / 243.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.005166, allocations: 29.69 kB / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.005187, allocations: 12.8 kB / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005189, allocations: 0 / 244 MB, free: 14.58 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.287e-05/0.005252, allocations: 37.73 kB / 244 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005264, allocations: 4 kB / 244 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005268, allocations: 4 kB / 244 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-06/0.005277, allocations: 0 / 244 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.005322, allocations: 7.984 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005325, allocations: 256 / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.005357, allocations: 0 / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.005364, allocations: 4 kB / 244 MB, free: 14.52 MB / 250.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 6.257e-05/0.005427, allocations: 185.1 kB / 244.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.005462, allocations: 108.9 kB / 244.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.005497, allocations: 120.5 kB / 244.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/0.005535, allocations: 180.3 kB / 244.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/0.00558, allocations: 184.2 kB / 244.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/0.005615, allocations: 180.3 kB / 244.9 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.005734, allocations: 321.4 kB / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.005758, allocations: 101 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.005782, allocations: 104.9 kB / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.005814, allocations: 113 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/0.005854, allocations: 180.2 kB / 245.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.005895, allocations: 188.2 kB / 245.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-05/0.005933, allocations: 184.2 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.72e-05/0.00597, allocations: 184.2 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.528e-05/0.006055, allocations: 299.8 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.006103, allocations: 188.2 kB / 246.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.006163, allocations: 104.9 kB / 246.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.006204, allocations: 184.2 kB / 247.1 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.006226, allocations: 101 kB / 247.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.006247, allocations: 20.83 kB / 247.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006247, allocations: 0 / 247.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.006406, allocations: 31.94 kB / 247.2 MB, free: 11.15 MB / 250.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.0003654/0.006772, allocations: 271 kB / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.00683, allocations: 8.859 kB / 247.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.006836, allocations: 3.938 kB / 247.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.006837, allocations: 0 / 247.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.007022, allocations: 468.8 kB / 247.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001551/0.007177, allocations: 171.9 kB / 248.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.007206, allocations: 59.34 kB / 248.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.007264, allocations: 7.984 kB / 248.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.007317, allocations: 59.36 kB / 248.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007318, allocations: 0 / 248.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of Templates: time 0.002543/0.00986, allocations: 1.099 MB / 249.3 MB, free: 8.996 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2763547440990806]